I also reached out to them on Twitter but they directed me to this form. I followed up with them on Twitter with what happened in this screenshot but they are now ignoring me.

  • @ShunkW
    link
    English
    61 year ago

    Let’s see your regex pattern that covers every possible valid email address and rejects all invalid then. It’s not remotely as easy as you’re making it out to be.

    Not saying this isn’t a shitty pattern, but you can’t make a claim like that.

    • @[email protected]
      link
      fedilink
      English
      31 year ago

      What claim, that I probably could? I didn’t say anything at all about it being easy, it would be a pain in the ass and involve a lot of checking the RFC, but I could probably make one that accurately represents the spec if I wanted to take the time, and even then I’m not exactly confident I would hit every edge case.

      But why would I go to that hassle when there are well designed and vetted ones available?

      I believe you missed the point I was making

      • @[email protected]
        link
        fedilink
        English
        21 year ago

        The full email address syntax described in the RFC cannot be precisely matched with a mere regular expression due to the support for nested comments. The need to track arbitrarily deep nesting state makes it a non-regular language.

        If you remove the comments first the remainder can be parsed with a very complex regex, but it will be about a kilobyte long.

      • @elephantium
        link
        English
        11 year ago

        when there are well designed and vetted ones available?

        I’m not convinced of this, tbh. IIRC the RFC can’t be described in a regex at all.

    • JackbyDev
      link
      fedilink
      English
      21 year ago

      It doesn’t need to be perfect, it just needs to prevent common mistakes and let valid emails through.