The RFC is very specific in its use. <domain> ::= <element> | <element> "." <domain> <element> ::= <name> | "#" <number> | "[" <dotnum> "]" <name> ::= <a> [-a-zA-Z0-9] [a-zA-Z0-9] <a> ::= [a-zA-Z]
Note that I've changed a few things into RegEx-ish looking things for ease of understanding. Basically, a 'name' is a character followed by any number of characters, numbers or dashes ending with a character or a number. A domain can be any number of names with a dot between them. Also, according to the RFC, .com is as legal as .salsa as it .wazzzzzup I'm not following the RFC 100% for the validator due to this. > Does the RFC actually say "character"? Surely any > letter/numeral/punctuation is a character? > > > -----Original Message----- > > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, 31 July 2002 3:00 p.m. > > To: CF-Talk > > Subject: Re: (ot) Email parsing domains > > > > > > Between you and Tony you've just proven the RFC invalid. > > Thanks. I'll adjust the function to reflect those domain types. > > > > > > > We use a host 2day.com > > > > > > > -----Original Message----- > > > > From: Michael Dinowitz [mailto:[EMAIL PROTECTED]] > > > > Sent: Wednesday, 31 July 2002 2:55 p.m. > > > > To: CF-Talk > > > > Subject: (ot) Email parsing domains > > > > > > > > > > > > I've written an email address valuator that's legal to the > > > > RFC and I have a general question. The RFC says that a domain > > > > must start with a character. i.e. 411.com is not legal. Has > > > > anyone seen any domain names that start with a number? > > > > Thanks > > > > > > > > Michael Dinowitz > > > > Master of the House of Fusion > > > > http://www.houseoffusion.com > > > > > > > > > > > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

