Any suggestions to get around this, or am I stuck?
With regexes I think you'll remain stuck. You'll also restrict yourself to assertions about simple strings which I imagine you'll quickly find restrictive.
Personally I think using the call stack to implement your backtracking will be a lot easier - but I would say that wouldn't I :-)
In reply to Re: Being Forced to Fork with Nested Regular Expressions
by adrianh
in thread Being Forced to Fork with Nested Regular Expressions
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |