• whoareuOP
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    3 days ago

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

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days 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