"(?(condition)yes-pattern|no-pattern)"
"(?(condition)yes-pattern)"
Conditional expression. "(condition)" should be either an
integer in parentheses (which is valid if the corresponding
pair of parentheses matched), a
look-ahead/look-behind/evaluate zero-width assertion, a name
in angle brackets or single quotes (which is valid if a
buffer with the given name matched), or the special symbol
(R) (true when evaluated inside of recursion or eval).
Additionally the R may be followed by a number, (which will
be true when evaluated when recursing inside of the
appropriate group), or by &NAME, in which case it will be
true only when evaluated during recursion in the named group
Here's a summary of the possible predicates:
(1) (2) ...
Checks if the numbered capturing buffer has matched
something.
...
Partager