• @yrmp
    link
    34 hours ago

    Regex should generally be avoided wherever possible.

    • @NateNate60OP
      link
      94 hours ago

      Yeah but it’s just so tempting… It validates so many inputs so easily…

      • @yrmp
        link
        74 hours ago

        And misses others you didn’t think about.

        • @[email protected]
          link
          fedilink
          43 hours ago

          Yeah, I’ve found myself wasting quite a lot of time thinking of the ‘perfect regex’ for task X only to realise that I could have avoided doing so by simply taking a different approach.