I'm using a pattern that consists of 15 alternatives (separated by |), each precisely matching one target item. For each item:
- I've escaped all regex special characters like dots, plus signs, parentheses, and brackets
- For the HTML item, I carefully escaped the quotes
- For the regex pattern items (#13 and #15), I had to double-escape the backslashes since they are already escaped in the target text
- The URLs and email addresses required careful escaping of special characters like dots, plus signs, and question marks
- I've made sure the pattern will only match the exact strings without any partial matches by properly escaping all metacharacters