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

Backrefs not correctly accounting for subroutines #29

Open
slevithan opened this issue Dec 23, 2024 · 0 comments
Open

Backrefs not correctly accounting for subroutines #29

slevithan opened this issue Dec 23, 2024 · 0 comments

Comments

@slevithan
Copy link

E.g. (?<a>[ab])\g<a>\k<a> is generating /([ab])([ab])\1/ but should be generating /([ab])([ab])\2/.

There are a variety of other edge cases around backreferences and subroutines that js_regex is also not currently handling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant