|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Having a problem with negative look behind assertionby jethro (Monsignor) |
| on Feb 12, 2013 at 14:08 UTC ( #1018371=note: print w/ replies, xml ) | Need Help?? |
|
I would say only Athanasius has a correct answer yet, I see mistakes in the other answers. So I made sure and tested. This should work (and still uses only one regex):
This is a negative look-ahead fixed at the start of the line (with ^).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||