Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: remove blank lines with regexby perlplexer (Hermit) |
on May 21, 2002 at 13:22 UTC ( [id://168114]=note: print w/replies, xml ) | Need Help?? |
FYI the /s flag only matters if you have '.' in your regex. So, /\n\n/ will work just as good as /\n\n/s From perlre --perlplexer
In Section
Seekers of Perl Wisdom
|
|