The unrolled loop of the first half and the $ anchor of the second half should control the performance.m{ ( [^']*? (?: '[^']*' [^']*? )* ) XX | (.+) $ }x
In reply to Re^3: This regex seems to have splattered non-greedy everywhere
by japhy
in thread This regex seems to have splattered non-greedy everywhere
by fizbin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |