Your skill will accomplish what the force of many cannot |
|
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:11 UTC ( [id://1233647]=note: print w/replies, xml ) | Need Help?? |
Yes, the \z anchor does, the trick, thanks!
In Section
Seekers of Perl Wisdom
|
|