I wouldn't expect much backtracking from your regexp, even in a failure case, so (?>...) will probably be of limited use. For example, either it finds an attribute or it doesn't, there's nothing else to try to match. You can try playing with (?>...) to find out for sure.
In reply to Re: Regex optimization: Can (?> ) and minimal match help here?
by ikegami
in thread Regex optimization: Can (?> ) and minimal match help here?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |