On Thu, Aug 27, 2009 at 10:27 AM, Marc Boschma <marc+lift...@boschma.cx<marc%2blift...@boschma.cx> > wrote:
> Personally I use: > > > "^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$" > Impressive! It still doesn't tell you if the email is real or not ;) > > Marc > > On 27/08/2009, at 9:32 AM, David Pollak wrote: > > Thanks. > > Changed and pushed to GitHub. Allow 2 hours for Maven availability. > > On Wed, Aug 26, 2009 at 4:15 PM, harryh <har...@gmail.com> wrote: > >> >> > What's the change to the RegEx? >> >> val emailPattern = Pattern.compile("^[a-z0-9._%-+]+@(?:[a-z0-9-]+\\.)+ >> [a-z]{2,4}$") >> >> note the addition of the + to the allowed characters before the @ >> >> -harryh >> >> > > > -- > Lift, the simply functional web framework http://liftweb.net > Beginning Scala http://www.apress.com/book/view/1430219890 > Follow me: http://twitter.com/dpp > Git some: http://github.com/dpp > > > > > > > > -- Viktor Klang Blog: klangism.blogspot.com Twttr: viktorklang Lift Committer - liftweb.com AKKA Committer - akkasource.org Cassidy - github.com/viktorklang/Cassidy.git SoftPub founder: http://groups.google.com/group/softpub --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---