# regexp/prefer-named-capture-group

enforce using named capture groups

# 📖 Rule Details

This rule reports capturing groups without a name.

This rule is inspired by the prefer-named-capture-group (opens new window) rule. The positions of reports are improved over the core rule and arguments of new RegExp() are also checked.

Now loading...

# 🔧 Options


# 📚 Further reading

# 🚀 Version

This rule was introduced in eslint-plugin-regexp v1.2.0

# 🔍 Implementation

Last Updated: 6/25/2022, 12:32:38 PM