\1..\9 now match the text captured by the corresponding group, so patterns like ([-*_])\1\1 or (\w+) \1 work. The parser records which groups are referenced; a referenced group additionally captures its text under a tag and the backref compiles to a PEG (backmatch). Only referenced groups change — they match possessively (the CPS-over-possessive-PEG engine can't backtrack into a tagged capture), so backtracking back into a backreferenced group isn't supported (rare). Unreferenced groups keep full backtracking and position-based result capture unchanged. |
||
|---|---|---|
| .. | ||
| bench | ||
| clojure-stdlib/clojure | ||
| fixtures/cgen-build | ||
| integration | ||
| spec | ||
| support | ||
| unit | ||