in reply to Useless use of `atomic' regex extended pattern?
Effeciency (in the case where there's no match).
Imagine trying to match against the string "(abc".
Without the (?>...) ------------------- (abc<fail> (ab<fail> (a<fail> (<fail> <fail>
With the (?>...) ---------------- (abc<fail> (<fail> <fail>
It's safe to do so here since [^()] and (??{ $re }) are mutally exclusive.
|
|---|