Another contender... I use this one:

http://tfletcher.com/lib/rfc822.rb

usage:  validates_format_of :email, :with => RFC822::EmailAddress


On Nov 14, 8:50 am, Jodi Showers <[EMAIL PROTECTED]> wrote:
> Hey yo -
>
> On 13-Nov-08, at 11:14 PM, Craig Demyanovich wrote:
>
> > In my current project, I'm using the regexp 
> > fromhttp://www.regular-expressions.info/email.html
> >  with validates_format_of to validate email addresses.
>
> > Regards,
> > Craig
>
> Checked out this baby?
>
> http://ex-parrot.com/~pdw/Mail-RFC822-Address.html
>
> (I'm using something similar to Craig's - wonder if the above would  
> crack open a bug in ruby's regexp?
>
> J
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to