I constructed the regex as an anchored, non‐capturing group that alternates between the 11 exact literals, escaping only the characters that have special meaning in regex. For example, periods in email addresses and IPs are escaped as ".", plus signs as "\+" and hyphens as "\-" where needed. The email with square brackets is matched by escaping the literal "[" and "]". The full pattern is wrapped in ^(?: … )$ so that only these exact strings are matched and nothing else.