>>>>> "Rob" == Rob Coops <rco...@gmail.com> writes:
Rob> The biggest problem with email addresses is that the rules of how an email Rob> address can be formatted are so relaxed and thus so complex that there is Rob> to the best of my knowledge not a single person that has ever managed to Rob> create a 100% correct regular expression that checks if a string does in Rob> fact match all criteria of a valid email address. False. http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html Sure, it doesn't address comments, but in-address comments are rare enough that they can be handled by a preprocessor. Rob> One of the problems is Rob> that even if you where to manage to create such a thing there are a few Rob> possibilities in the specification that are valid but will not likely be Rob> accepted by any email server or mail client. True. Rob> Take for instance the following email address 1....1....1....1@something...@ Rob> somewhere.info this is technically a valid email address False. You cannot have consecutive unquoted "." in your address: this.is...@example.com this..is.not...@example.com I didn't read the rest, since you already went off track twice up to here. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <mer...@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/