![]() |
|
good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: REGEX problem with anchorsby 7stud (Deacon) |
on Feb 05, 2013 at 17:07 UTC ( [id://1017221]=note: print w/replies, xml ) | Need Help?? |
But of course, there is no reason to ever use \Z (uppercase)--because you can just use \z (lowercase) and specify the \n in your regex:
...which makes it clearer what you are doing. When you are having regex problems, the first thing you want to do is nail down what is in your string: Or, to reveal the ord() of each character in the string:
In Section
Seekers of Perl Wisdom
|
|