• @yrmp
      link
      42 hours ago

      Regex should generally be avoided wherever possible.

      • @NateNate60OP
        link
        72 hours ago

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

        • @yrmp
          link
          52 hours ago

          And misses others you didn’t think about.

          • @[email protected]
            link
            fedilink
            351 minutes 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.