Skip to content

es-x/no-regexp-duplicate-named-capturing-groups

disallow RegExp duplicate named capturing groups

This rule reports ES2025 RegExp duplicate named capture groups as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v7.8.0.

📚 References