[Reportbug-maint] Bug#221548: check if email address is correct

Sandro Tosi morph at debian.org
Fri Jun 5 09:33:34 UTC 2009


Hi Carl,
thanks for the patch.

On Fri, Jun 5, 2009 at 01:05, chaica<chaica at ohmytux.com> wrote:
> tags 221548 patch
> thanks
>
> Hi,
> Here is a patch to check if the provided email address is correct,
> according to rfc2822 but not too restrictive. Controls only verify
> really common specifications.

checking email validity is known to be "quite hard": wouldn't it be
better to use a regular expression instead of the checks you used?
there are some regexps already available on the net (some of them a
really big!).

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi





More information about the Reportbug-maint mailing list