"be consistent" | |
PerlMonks |
Re^2: How to match last character of string, even if it happens to be a newline?by Allasso (Monk) |
on May 12, 2019 at 15:17 UTC ( [id://1233649]=note: print w/replies, xml ) | Need Help?? |
Using \z, I don't seem to need multiline, simply m@(.)\z@s
In Section
Seekers of Perl Wisdom
|
|