Comment on I'm locked out of my 6 year old Chipotle account because they now say my email address is invalid when I login. Here is me asking for their help:

<- View Parent
laurelraven@lemmy.blahaj.zone ⁨1⁩ ⁨year⁩ ago

And this right here is a great example of why simple basic RegEx is rarely adequate

At the very least, should be something like

^[^@\s]+@([^@\s.]+\.)+[^@\s.]+$

I’m like 99% sure I missed at least a few cases there, and will say “please don’t use this for anything production”

source
Sort:hotnewtop