Skip to content

regexp/prefer-named-backreference

🔧 This rule is automatically fixable by the --fix CLI option.

enforce using named backreferences

📖 Rule Details

This rule reports and fixes backreferences that do not use the name of their referenced capturing group.

Now loading...

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-regexp v0.9.0

🔍 Implementation