cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agowhat debugging regex feels likelemmy.mlimagemessage-square68fedilinkarrow-up1851arrow-down115cross-posted to: [email protected]
arrow-up1836arrow-down1imagewhat debugging regex feels likelemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square68fedilinkcross-posted to: [email protected]
minus-square:3 3: :3 3: :3 3: :3@lemmy.blahaj.zonelinkfedilinkarrow-up5·21 hours agoWhat about "user@not_domain"? It validates but isn’t valid - there’s no domain part, the @ is quoted
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up3·19 hours agoThat’s not something you can determine using a regex. “user@com” for example could be a perfectly working email. The right way is to send a verification email in every case.
What about
"user@not_domain"
? It validates but isn’t valid - there’s no domain part, the@
is quotedThat’s not something you can determine using a regex.
“user@com” for example could be a perfectly working email.
The right way is to send a verification email in every case.