Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Strange regex to test for newlines: /.*\z/

by moritz (Cardinal)
on May 21, 2007 at 13:21 UTC ( #616551=note: print w/ replies, xml ) Need Help??

Comment on Re^2: Strange regex to test for newlines: /.*\z/
Replies are listed 'Best First'.
Re^3: Strange regex to test for newlines: /.*\z/
by moritz (Cardinal) on May 29, 2007 at 09:04 UTC
    In r31303 of bleadperl this bug is fixed:
    $ perl5.9.5 -E 'say "match" if "f\n" ~~ /.*\z/'
    match
    

      Just FYI: you can do links to the Archive of Perl Changes using the apc:// linktype.

      ---
      $world=~s/war/peace/g

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://616551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-07-30 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls