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.

you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 2 years ago (2 children)

That's what it looks like to me too

I could probably write a RegEx for email format validation that's accurate, but why would I when there are ones already written and readily available that covers all possible legit variations on the standard? I never understood why people insist on writing their own (crap) RegEx for something with as many possible variations they can miss like email...

And that one isn't even a weird edge case! It's a domain with a sub domain, if they can't even cover that case then it's an extra shitty RegEx

  • source
  • parent
  • hideshow 4 child comments
  • [–] 6 points 2 years ago (2 children)

    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.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago (1 child)

    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

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years 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.

  • source
  • parent
  • [–] 6 points 2 years ago*

    And that one isn't even a weird edge case! It's a domain with a sub domain, if they can't even cover that case then it's an extra shitty RegEx

    Like my work email which is "my.name@umbrellacompany.company.com"

  • source
  • parent