/START(?:(?!START|END).)*END/
I wonder if the following is faster/START(?:(?!START).)*?END/
/ START (?> [^SE]* (?:S+(?!TART))? (?:E+(?!ND))? )* END /x
In reply to Re: really non greedy match
by ikegami
in thread really non greedy match
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |