[Repoze-dev] [issue172] Colander Email Regexp breaks in a few cases

2010-12-11 Thread cd34
New submission from cd34 : line 249, colander/__init__.py super(Email, self).__init__( u'(?i)^[a-z0-9._%+...@[a-z0-9.-]+\.[a-z]{2,4}$', msg=msg) the regexp has a number of issues. First, tlds can be longer than 4 characters, i.e. .museum. FormEncode splits on

[Repoze-dev] [issue172] Colander Email Regexp breaks in a few cases

2010-12-13 Thread cd34
cd34 added the comment: I can only imagine that .mobi is going to become a bit more popular in the upcoming years and if .name has a reasonable price structure, it might become popular. Even your own email address would be rejected which suggests that the current approach is not working as