This regex is constructed as a non‐capturing group that exactly matches one of the 15 literal target strings. Each target string is carefully represented by escaping all regex metacharacters (such as +, ., (, ), ?, [, ], {, }, and backslashes) so that the regex only matches the exact literal text and nothing else. For example, in the email item the plus and dot are escaped, in the URL item the dots, question mark, plus, brackets and parentheses are escaped properly, and similar care is taken for the HTML chunk, CLI command and all others. The entire pattern is wrapped with ^(?: … )$ to enforce that the whole string is exactly one of the target items.