Reports quantifiers using {0,1} in regular expressions and suggests using the more concise ? quantifier instead.
Both forms are semantically equivalent (matching zero or one of the preceding element), but ? is the idiomatic form.
This rule also reports non-capturing groups with trailing empty alternatives like (?:abc|) and suggests using (?:abc)? instead.
If your project has a style guide that prefers the explicit {0,1} syntax for clarity, or if you are programmatically generating regular expressions where {0,1} is easier to produce, you might want to disable this rule.