The one your propose fails two of our tests:
Failed example:
    IS_EMAIL()('a...@d_-f.us')
Expected:
    ('a...@d_-f.us', None)
Got:
    ('a...@d_-f.us', 'enter a valid email address')
**********************************************************************
File "gluon/validators.py", line 859, in __main__.IS_EMAIL
Failed example:
    IS_EMAIL()('local...@localhost')       # localhost as domain
Expected:
    ('local...@localhost', None)
Got:
    ('local...@localhost', 'enter a valid email address')
**********************************************************************



On May 29, 9:36 pm, blackthorne <[email protected]> wrote:
> http://fightingforalostcause.net/misc/2006/compare-email-regex.php
>
> Take it as a suggestion for a better email regex validator...

Reply via email to