for more information visit the package's GitHub page
Package contains the following modules:
Parses email addresses safely
A demo can be found on: https://bellroy.github.io/elm-email/
Validating email addresses using Regex is a pain.
So far I personally have never found the one Regex to rule them all.
Having the ability to parse email addresses from String not only means they are validated, but also adds the ability to then add your own additional validations on parts of the email address that might be specific to your application or such.
```elm import Email
parsedEmail: Maybe Email parsedEmail = Email.fromString "simple+tag@example.com.au"
-- Result
Just { localPart = "simple" , tags = [ "tag" ] , domain = "example" , tld = [ "com", "au"] }
```