|
From: | Lennart Borgman |
Subject: | Re: How do I check if the format of an email address is valid? |
Date: | Fri, 31 Mar 2006 23:02:51 +0200 |
User-agent: | Thunderbird 1.5 (Windows/20051201) |
Reiner Steib wrote:
One can of course think in many ways here. Currently there seem to be 10 proposed new TLDs: http://www.icann.org/tlds/stld-apps-19mar04/On Fri, Mar 31 2006, Lennart Borgman wrote: [ Regexp for valid TLDs ]Why not just [a-z]{2, 6}Too many false positives. Bye, Reiner.
And as Mattias pointed out it seems to be very difficult to write an entirely correct regexp for a valid mail address format. What about the current regexp in Emacs? Does it give many false positive? Or, maybe worse, many false negatives?
[Prev in Thread] | Current Thread | [Next in Thread] |