cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agowhat debugging regex feels likelemmy.mlimagemessage-square68fedilinkarrow-up1918arrow-down115
arrow-up1903arrow-down1imagewhat debugging regex feels likelemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square68fedilink
minus-square:3 3: :3 3: :3 3: :3@lemmy.blahaj.zonelinkfedilinkarrow-up5·2 months agoWhat about "user@not_domain"? It validates but isn’t valid - there’s no domain part, the @ is quoted
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up4·2 months 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.