Character classes in regular expressions are more efficient than alternations because they don’t require backtracking.
When multiple single-character alternatives are used in a regex pattern, they can be combined into a character class for better performance and readability.
If you prefer the readability of explicit alternations over character classes, or if your codebase has specific conventions around regex formatting, you might prefer to disable this rule.
Some developers find alternations easier to read when the alternatives represent distinct concepts rather than a set of characters.