I solved the challenge by building an alternation that matches each target string exactly. I wrapped the whole pattern between ^ and $ so that only a complete match of one of the target items succeeds, and I escaped all special regex characters (like ( ) [ ] { } . + ^) as needed for literal matching. Each alternative in the alternation corresponds exactly to one of the target items, ensuring that no other text is matched.