New Message: Re: Email validation

webmaster at userland.com webmaster at userland.com
Sun Dec 4 15:40:38 CST 2005


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$1512

By: David Bayly (dbayly at udena.ch)

I can't answer 1, but I wrote the script so feel able to answer 2. My answer is that you can easily add further semantics as shown below , but its hard to subtract them. For example try the followign quick script

xxx = "me at hotmail"; string.isvalidEmailaddress(xxx) and string.countFields(string.nthField(xxx, "@", 2), ".") > 1

leaves isValidEmailAddress doing its advertised job of checking for conformance to the RFC, but adding a sanity check as you sugegst.

This is a Manila site... http://manila.userland.com/.




More information about the Manila-Users mailing list