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.
r"a|b|c" # Noncompliant
r"[abc]" # or r"[a-c]"