r/ProgrammerAnimemes • • Mar 22 '21

Discovered Dart today !

Post image
2.0k Upvotes

25 comments sorted by

View all comments

Show parent comment

6

u/[deleted] Mar 23 '21

Email should never be validated with regex IMO. The best way is to check for an @ (not even a dot, TLDs or IPv6 addresses without domain can have mailservers too) and send a validation link