Comment on Strings do too many things
derpgon@programming.dev 8 months 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] 8 months ago
What if it only contains @?
SpacePirate@lemmy.ml 8 months ago
If OP is also sending a validation email, it would fail, so no issue.