nanterre: inclure les chiffres dans la regex email (#18661)

This commit is contained in:
Thomas NOËL 2017-09-13 09:30:31 +02:00
parent bccaea1752
commit 5590604b38
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ def adresse(individu):
class PersonSearch(object):
EMAIL_RE = re.compile(
'^[a-zA-Z.+_-]*@[a-zA-Z.+_-]*$')
'^[a-zA-Z0-9.+_-]*@[a-zA-Z0-9.+_-]*$')
DATE_RE1 = re.compile(
'^(?:(?P<year>\d\d|\d\d\d\d)(?:-(?P<month>\d{1,2})(?:-(?P<day>\d{1,2}))?)?)$')
DATE_RE2 = re.compile(