We build a single pattern of alternations that exactly matches each target string and nothing else. Each special regex character (e.g., dot, plus-sign, parentheses, question-mark, dollar-sign) is escaped so that these substrings are matched literally.