Thank you for that and all the other responses too!!!!

I suppose I'm guilty - I was just doing it because you do and always have. I
hadn't really thought of it this way Adam and now I suspect I'll ask the
question each time - do I need to validate this address. I suppose some
understanding of who is entering the data is a consideration for me too -
because when it breaks they call me because it's the app, not them :-)


++++++++++
Kevin Parker

++++++++++


-----Original Message-----
From: Adam Cameron [mailto:[email protected]] 
Sent: Monday, 25 February 2013 6:12 AM
To: cf-talk
Subject: Re: Apostrophes in email addresses


> This seems to work, no?

No. It doesn't allow for quite a number of completely legit characters,
notably the + sign (which is very common), amongst others. That said, this
is the fault of the original regex, not your fix for it.

My feedback on this got too long for a response here, so I wrote it up on my
blog:
http://adamcameroncoldfusion.blogspot.co.uk/2013/02/email-address-validation
-1-in-series.html

--
Adam




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354677
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to