Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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??


in reply to Re: Strange regex to test for newlines: /.*\z/
in thread Strange regex to test for newlines: /.*\z/

One more opinion for this being a bug: short discussion on #perl6
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 surveying the Monastery: (6)
As of 2016-05-31 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?