Open marvin1973 opened 4 years ago
Email regex does not match user.name-secondname@domain.com oder an other Adresse with valid "-" before @
It should be
def _is_email(self, email): pattern = r'[\-\.\w]+@[-\.\w]+\.\w+' if re.fullmatch(pattern, email): return True
Same error here with user.name@twopart-domain.com
On gmail you could also have an email address like user+label@gmail.com, so character '+' should be added to the regex
Email regex does not match user.name-secondname@domain.com oder an other Adresse with valid "-" before @
It should be