# regexp/prefer-quantifier
enforce using quantifier
- 🔧 The
--fix
option on the command line (opens new window) can automatically fix some of the problems reported by this rule.
# 📖 Rule Details
This rule is aimed to use quantifiers instead of consecutive characters in regular expressions.
# 🔧 Options
Nothing.
# 🚀 Version
This rule was introduced in eslint-plugin-regexp v0.2.0