Comment on Strings do too many things
derpgon@programming.dev 1 year agoThe best validation for a valid email address is always sending a verification mail. I’ve rejected countless MRs that contained ad-hoc regex email validation copied from the internet. I’d allow a check for it to contain an @
.
nitefox@sh.itjust.works [bot] 1 year ago
What if it only contains @?
SpacePirate@lemmy.ml 1 year ago
If OP is also sending a validation email, it would fail, so no issue.