by hsnice16 on 10/5/24, 4:08 PM with 4 comments
[Done] Core service to verify email.
[Done] Core service live on https://pkg.go.dev
Next, I will make an API to leverage the core service.
by zufallsheld on 10/5/24, 7:15 PM
There is this regex: https://emailregex.com/
Seeing the amount of code let's me think of left-pad. Minimal code that should just be part of your own project instead of using a third party dependency.
Also obligatory: don't validate emails, just send the user an email and make them confirm by clicking a link in the mail.
by dolanor on 10/9/24, 6:33 AM
Using regexp for email parsing is really error prone and gives email validators that don't accept characters like + that are often used for aliases, etc