|
DEELX Extended Syntax: Independent Expression
Return: Content | Prev: Zero-width assertion | Next: Conditional expression
Independent Expression (?>pattern)
Will match the substring that a standalone pattern would match. Even the rest pattern fails to match, independent expression will not backtrack.
Remarks
In common situation, that is to say if those patterns are not in independent expression, quantifiers will try to match more, and alternative expression will try to match another option to help the overall expression to match success.
|
|
|