in reply to negative regex without !~
Ok, right. The previous construction was incorrect. I think using the experimental conditional test would work here since now the (?!) does not connect via backtracking to the (?=).
/(?((?:$RegexGoesHere))(?!)|(?=))/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: negative regex without !~
by ysth (Canon) on Jul 22, 2004 at 22:26 UTC | |
|
Re^2: negative regex without !~
by hv (Prior) on Jul 22, 2004 at 22:12 UTC |