We don't bite newbies here... much | |
PerlMonks |
Re: Multiline regexby haoess (Curate) |
on Oct 27, 2006 at 18:36 UTC ( [id://580989]=note: print w/replies, xml ) | Need Help?? |
If you want to do your matching about the whole string (containing multiple lines), then you want /s (also let the dot meta character match line breaks).
Or you are matching line by line, then you should have a look at the flip-flop operator in perlop.
--Frank
In Section
Seekers of Perl Wisdom
|
|