Perl supports negative lookbehing and negative lookahead, filed under EXTENDED CONSTRUCTS of perlreref and Extended Patterns of perlre. Lookbehing is slightly limited in scope (i.e no quantifiers), but lookahead isn't.
Also, in regex, you might be better off stating what you *are* looking for and unless the rest
UPDATE:Fixed perldoc links, thanks kyle!
Software speaks in tongues of man.
Stop saying 'script'. Stop saying 'line-noise'.
We have nothing to lose but our metaphores.
In reply to Re: How can I build regexp with "not" assertion?
by Erez
in thread How can I build regexp with "not" assertion?
by putnik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |