| From: | "Welty, Richard" <richard(dot)welty(at)bankofamerica(dot)com> |
|---|---|
| To: | "Randal L(dot) Schwartz" <merlyn(at)stonehenge(dot)com>, Markus Rebbert <markus(dot)rebbert(at)freenet(dot)de> |
| Cc: | Brad Nicholson <bnichols(at)ca(dot)afilias(dot)info>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Email Verfication Regular Expression |
| Date: | 2005-09-07 16:41:36 |
| Message-ID: | A209FE4DA934614CAF3F5BD8E5E14290B0DD32@ex2k.bankofamerica.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Randal L. Schwartz wrote:
>Absolutely not. It rejects <fred&barney(at)stonehenge(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jim C. Nasby | 2005-09-07 17:40:28 | Re: RAID0 and pg_xlog |
| Previous Message | Ben | 2005-09-07 16:35:19 | Re: Email Verfication Regular Expression |