• whoareu@lemmy.caOP
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    4 months ago

    If we want to include every protocol then the RE could be complex.

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Depending on the use-case it maybe should. On the other hand, some things are better left to library implementations rather than custom regex, e.g. email validation