[Zope-CMF] Re: [dev] _checkEmail issues

Martin Aspeli optilude at gmx.net
Fri Oct 20 17:03:03 EDT 2006


> The complete regex would look like this:
> 
> re.compile(r'^([\w!#$%&\'*+\-/=?^`{|}~]+(\.[\w!#$%&\'*+\-/=?^`{|}~]+)*'
>            r'|"[^(\|")]*")@[\w-]+(\.[\w-]+)+$')


That is possibly the ugliest sequence of characters I have ever seen.

Martin



More information about the Zope-CMF mailing list