Search Postgresql Archives

Re: Email Verfication Regular Expression

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Randal L. Schwartz wrote:
>Absolutely not.  It rejects <fred&barney@xxxxxxxxxxxxxx> which is a perfectly
>valid email address.  (Try it, you'll get my autoresponder.)

>Google for "RFC 822" and "RFC 2822" to see the *real* rules.  An
>actual regex for an email address is rather large.

there's an extended example in appendix b of _Mastering Regular Expressions_
from O'Reilly.

the appendix suggests the regex may be available online at jeffery friedl's
home page. here's the url, but i've not gone excavating for the regex. 

http://dict.regex.info/cgi-bin/j-e/jfriedl.html

richard

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux