[Typo3-dev] Improvement of function validEmail($email)
Martin T. Kutschker
Martin.T.Kutschker at blackbox.net
Tue Mar 9 00:31:43 CET 2004
Wolfgang Klinger wrote:
> Hi
> On 17:31 Mon 08 Mar , Stefan Geith wrote:
>
> This is the ultimate e-mail validation regular expression:
>
> http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
I was aware that RFC822 allows for more that your average email regexp,
but I didn't expect this monster.
I love features like comments and spaces:
firtsname . (comment) lastname @ some.domain
should IIRC be treated as firtsname.lastname at some.domain
And there are also quotes with " and escapes with \...
Oh what fun! Such a pity you don't see such beauties in the wild.
Masi
More information about the TYPO3-dev
mailing list