Still? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Feb 24, 2013 3:24 PM, "Matt Quackenbush" <[email protected]> wrote:
> > Pretty sure isValid() incorrectly flags emails with apostrophes as invalid. > There are two or three bugs with isValid() and emails. > On Feb 24, 2013 7:05 AM, "Justin Scott" <[email protected]> wrote: > > > > > > 100% of the time this little bit of regex has served me well until now. > > > ^[\w\.-]{1,}\@([\da-zA-Z-]{1,}\.){1,}[\da-zA-Z-]+$ > > > > Is there a reason you're not using the built in isValid("email", > > variable) function instead of a regex? > > > > > > -Justin > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:354665 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

