When an alternation contains multiple alternatives that consist of a single character, it can be rewritten as a character class. This should be
preferred because it is more efficient.
Noncompliant Code Example
r"a|b|c" # Noncompliant
Compliant Solution
r"[abc]"
# or
r"[a-c]"