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 ES2025 RegExp duplicate named capturing groups #18330

Open
4 of 9 tasks
ota-meshi opened this issue Apr 13, 2024 · 1 comment
Open
4 of 9 tasks

Support for ES2025 RegExp duplicate named capturing groups #18330

ota-meshi opened this issue Apr 13, 2024 · 1 comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion core Relates to ESLint's core APIs and features new syntax This issue is related to new syntax that has reached stage 4

Comments

@ota-meshi
Copy link
Member

ota-meshi commented Apr 13, 2024

Syntax name

Duplicate named capturing groups

Syntax proposal URL

https://github.com/tc39/proposal-duplicate-named-capturing-groups

Example code

str.match(/(?<year>[0-9]{4})-[0-9]{2}|[0-9]{2}-(?<year>[0-9]{4})/)

Implementation Checklist

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

@ota-meshi ota-meshi added core Relates to ESLint's core APIs and features new syntax This issue is related to new syntax that has reached stage 4 labels Apr 13, 2024
@ota-meshi ota-meshi changed the title Support for duplicate named capturing groups Support for RegExp duplicate named capturing groups Apr 13, 2024
@ota-meshi ota-meshi changed the title Support for RegExp duplicate named capturing groups Support for ES2025 RegExp duplicate named capturing groups Apr 13, 2024
@mdjermanovic mdjermanovic added the accepted There is consensus among the team that this change meets the criteria for inclusion label Apr 13, 2024
@mdjermanovic
Copy link
Member

Marked as "blocked" until the dependencies are updated to support this syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted There is consensus among the team that this change meets the criteria for inclusion core Relates to ESLint's core APIs and features new syntax This issue is related to new syntax that has reached stage 4
Projects
Status: Blocked
Development

No branches or pull requests

2 participants