RunDevelopment/eslint-plugin-clean-regex

Warn about nested unused capturing groups

RunDevelopment opened this issue · 0 comments

Unused nested capturing groups are likely meant to be non-capturing groups:

Examples:

/(foo(bar))/
/(foo(\s+|\s*,\s*)?bar)/