# disallow RegExp named capture groups (es/no-regexp-named-capture-groups)

This rule reports ES2018 RegExp named capture groups as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-regexp-named-capture-groups: error */ const r1 = /(?<a>b)c/
Now loading...

# 📚 References