BTW: If you like (?!) and have access to Perl version 5.10+, check out Special Backtracking Control Verbs in perlre. (?!) actually compiles to (*FAIL) now (I think — or maybe it's the other way around).
In reply to Re: regex backtracking question
by AnomalousMonk
in thread regex backtracking question
by aeqr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |