💼 This rule is enabled in the ✅
💡 This rule is manually fixable by editor suggestions.
disallow quantifiers with a maximum of zero
📖 Rule Details
This rule reports quantifiers with a maximum of zero. These quantifiers trivially do not affect the pattern is any way and can be removed.
This rule was introduced in eslint-plugin-regexp v0.10.0