ontodev/cogs

Email pattern is too restrictive

Closed this issue · 0 comments

The regex for email must allow multiple periods in the domain name:

return re.match(r"^[-.\w]+@[-\w]+\.[-\w]+$", email)