|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^3: Regexp: Match anything except a certain wordby ikegami (Pope) |
| on Apr 21, 2006 at 17:26 UTC ( #544954=note: print w/ replies, xml ) | Need Help?? |
|
Oops, I read the problem too fast. Fix:
Alternatively, the following *might* be faster, especially considering href is usually the first attribute:
Tested. Update: Collapsed (?!..re1..)(?!..re2..) into (?!..re1..|..re2..)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||