good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: How to match last character of string, even if it happens to be a newline?by jwkrahn (Abbot) |
on May 12, 2019 at 18:48 UTC ( [id://1233663]=note: print w/replies, xml ) | Need Help?? |
You don't really need a regular expression just to get the last character in a string:
In Section
Seekers of Perl Wisdom
|
|