Despite a processing slowdown...
It depends on the patterns and the string, but it's often faster (and in this case it is faster) to split up the matches into multiple regexes.
In reply to Re^2: Problem with negative lookahead at end of string
by runrig
in thread Problem with negative lookahead at end of string
by olivierp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |