Re: Email Verfication Regular Expression - Mailing list pgsql-general

From Welty, Richard
Subject Re: Email Verfication Regular Expression
Date
Msg-id A209FE4DA934614CAF3F5BD8E5E14290B0DD32@ex2k.bankofamerica.com
Whole thread Raw
In response to Email Verfication Regular Expression  (Brad Nicholson <bnichols@ca.afilias.info>)
List pgsql-general
Randal L. Schwartz wrote:
>Absolutely not.  It rejects <fred&barney@stonehenge.com> 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

pgsql-general by date:

Previous
From: "Qingqing Zhuo"
Date:
Subject: Re: RAID0 and pg_xlog
Next
From: "Jim C. Nasby"
Date:
Subject: Re: RAID0 and pg_xlog