cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agowhat debugging regex feels likelemmy.mlimagemessage-square59fedilinkarrow-up1820cross-posted to: programmerhumor@lemmy.ml
arrow-up1820imagewhat debugging regex feels likelemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square59fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square:3 3: :3 3: :3 3: :3linkfedilinkarrow-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·20 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.