From: "Andreas S." Date: 2006-01-05T06:00:35+09:00 Subject: Re: Email Address Regex Jacob Fugal wrote: > The only reason I defended the regex was because you claimed it was > invalid. I don't remember that. I dislike complex solutions like this Regex because they are error prone (as proved by your correction for Tim's rfc822.rb), I didn't claim yours was invalid. > If you're original argument had been that the regex was > unnecessary, I'd probably have agreed with you. Validating email > addresses by form is pointless. If someone doesn't want to give you > their address, they won't. Requiring them to input a valid fake > address instead of an invalid fake address doesn't improve your data > at all. The only reason I can see that being necessary is to prevent > malformed addresses from breaking your application in some way. But if > that's a problem, fix the application, not the email address. I totally agree with you. -- Posted via http://www.ruby-forum.com/.