A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html below:

Website Navigation


regexp/no-trivially-nested-quantifier | eslint-plugin-regexp

regexp/no-trivially-nested-quantifier

💼 This rule is enabled in the following configs: 🟢 flat/recommended, 🔵 recommended.

🔧 This rule is automatically fixable by the --fix CLI option.

disallow nested quantifiers that can be rewritten as one quantifier

📖 Rule Details

In some cases, nested quantifiers can be rewritten as one quantifier (e.g. (?:a{1,2}){3} -> a{3,6}).

🔧 Options

Nothing.

🚀 Version

This rule was introduced in eslint-plugin-regexp v0.9.0

🔍 Implementation

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