in reply to Re^2: Strange regex to test for newlines: /.*\z/
in thread Strange regex to test for newlines: /.*\z/
$ perl5.9.5 -E 'say "match" if "f\n" ~~ /.*\z/' match
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Strange regex to test for newlines: /.*\z/
by demerphq (Chancellor) on May 29, 2007 at 10:58 UTC |