XP is just a number | |
PerlMonks |
Re^4: Strange regex to test for newlines: /.*\z/by mrpeabody (Friar) |
on May 22, 2007 at 20:37 UTC ( [id://616861]=note: print w/replies, xml ) | Need Help?? |
.* will match anything but a newline, or the empty string. It will match both of those, actually, as it should.
In Section
Seekers of Perl Wisdom
|
|