Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for \1, \2, \3... metacharacters #33

Open
SimY4 opened this issue Feb 12, 2023 · 0 comments
Open

Support for \1, \2, \3... metacharacters #33

SimY4 opened this issue Feb 12, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@SimY4
Copy link
Owner

SimY4 commented Feb 12, 2023

Regex spec allows you to refer to already matched segments via using \1 \2 \3 \4 metacharacters (referring to a group index within the expression).

From a coregex POV it would mean that it should duplicate and inline a copy of what was generated by that indexed group into position of this metacharacter.

@SimY4 SimY4 added enhancement New feature or request help wanted Extra attention is needed labels Feb 12, 2023
@SimY4 SimY4 added this to the 1.0.0 milestone Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant