Mayil-AI-Sandbox / eslint-v911

Clone of eslint v9.1.1 for debugging
MIT License
0 stars 0 forks source link

Support for ES2025 RegExp duplicate named capturing groups #10

Open btmills opened 1 month ago

btmills commented 1 month ago

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

Additional comments

No response

mayil-ai[bot] commented 1 month ago

Code snippets to check