|
|
| Just another Perl shrine | |
| PerlMonks |
Re: REGEX problem with anchorsby kcott (Parson) |
| on Feb 05, 2013 at 09:52 UTC ( #1017098=note: print w/ replies, xml ) | Need Help?? |
|
G'day live4tech, I see you've resolved your problem. There can be rare instances when you want to preserve all the input, including terminal newlines. In these cases, you can use \Z (uppercase) instead of the more usual \z (lowercase).
Details are in: perlre - Regular Expressions under Assertions. -- Ken
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||