The strategy here is to treat each target literal as an exact, fixed string and combine them into one alternation. We wrap the entire alternation in ^(?: … )$ so that only one of the target items is matched completely and nothing else. For each target we escape all regex metacharacters (such as (, ), {, }, [, ], ., +) that have special meaning in JavaScript regex. For example, the first target becomes \(\(\(\{nested\}\[blocks\]\(here\)\)\)\)\) to match exactly '((({nested}[blocks](here))))'. We do the same for every target, ensuring that characters like the dot in email domains or the plus sign in version strings are escaped. The final pattern is a single alternation of all seventeen fixed strings.