No such thing as a small change | |
PerlMonks |
Re^3: Regex assistance, please.by moritz (Cardinal) |
on Oct 22, 2012 at 05:04 UTC ( [id://1000258]=note: print w/replies, xml ) | Need Help?? |
Yes, that's because the (?!\s*###+) only needs to match once, at the end of a line. You need to modify the regex to have match at start of every line.
In Section
Seekers of Perl Wisdom
|
|