badoux / checkmail

Golang package for email validation
MIT License
710 stars 92 forks source link

Change regex to match all the email addresses according to RFC 3696 #22

Closed younisshah closed 3 years ago

younisshah commented 5 years ago

According to RFC 3696, Application Techniques for Checking and Transformation of Names, the example email address used in the first example of README.md is apparently a valid email address.

Similarly, these are all valid email addresses:

For more, check this I Knew How To Validate An Email Address Until I Read The RFC

AdeSupriyadi commented 4 years ago

used this package x@x return valid