There's more than one way to do things | |
PerlMonks |
Re: Regex bug? matching multiple newline with /mby tybalt89 (Monsignor) |
on Aug 09, 2021 at 08:31 UTC ( [id://11135723]=note: print w/replies, xml ) | Need Help?? |
$ is a zero-width match, it does not consume a \n;
Try adding the 'use strict;' to your other examples to see what they are really doing.
In Section
Seekers of Perl Wisdom
|
|