\
) no-trivially-nested-assertion disallow trivially nested assertions 🟢 🔵 🔧 no-trivially-nested-quantifier disallow nested quantifiers that can be rewritten as one quantifier 🟢 🔵 🔧 no-unused-capturing-group disallow unused capturing group 🟢 🔵 🔧 💡 no-useless-character-class disallow character class with one character 🟢 🔵 🔧 no-useless-flag disallow unnecessary regex flags 🟢 🔵 🔧 no-useless-lazy disallow unnecessarily non-greedy quantifiers 🟢 🔵 🔧 no-useless-quantifier disallow quantifiers that can be removed 🟢 🔵 🔧 💡 no-useless-range disallow unnecessary character ranges 🟢 🔵 🔧 no-useless-set-operand disallow unnecessary elements in expression character classes 🟢 🔵 🔧 no-useless-string-literal disallow string disjunction of single characters in \q{...}
🟢 🔵 🔧 no-useless-two-nums-quantifier disallow unnecessary {n,m}
quantifier 🟢 🔵 🔧 no-zero-quantifier disallow quantifiers with a maximum of zero 🟢 🔵 💡 optimal-lookaround-quantifier disallow the alternatives of lookarounds that end with a non-constant quantifier 🟢 🔵 💡 optimal-quantifier-concatenation require optimal quantifiers for concatenated quantifiers 🟢 🔵 🔧 prefer-escape-replacement-dollar-char enforces escape of replacement $
character ($$
). prefer-predefined-assertion prefer predefined assertion over equivalent lookarounds 🟢 🔵 🔧 prefer-quantifier enforce using quantifier 🔧 prefer-range enforce using character class range 🟢 🔵 🔧 prefer-regexp-exec enforce that RegExp#exec
is used instead of String#match
if no global flag is provided prefer-regexp-test enforce that RegExp#test
is used instead of String#match
and RegExp#exec
🔧 prefer-set-operation prefer character class set operations instead of lookarounds 🟢 🔵 🔧 require-unicode-regexp enforce the use of the u
flag 🔧 require-unicode-sets-regexp enforce the use of the v
flag 🔧 simplify-set-operations require simplify set operations 🟢 🔵 🔧 sort-alternatives sort alternatives if order doesn't matter 🔧 use-ignore-case use the i
flag if it simplifies the pattern 🟢 🔵 🔧
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4