Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change email regex match to fullmatch
This PR is about the current method used to conditionally match user and domain regex to email. currently, it's using match which wrongfully accepts entries if domain has special characters after .com it currently accepts, john@voluptuous.com> or john!@voluptuous.org!@($*! thus, we need to fullmatch the domain or user to avoid such entries and validate them properly.
- Loading branch information
JFYI: Python 2 does not support
fullmatch