Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Isn't /m for multiline regex?by jwkrahn (Abbot) |
on Apr 19, 2010 at 04:52 UTC ( [id://835391]=note: print w/replies, xml ) | Need Help?? |
The /m option affects the use of the ^ and $ anchors, but you are not using those anchors in your pattern. You need to use the /s option so that the . character class will match a newline as well as every other character.
In Section
Seekers of Perl Wisdom
|
|