Thanks for the update Peter. 

-----Original Message-----
From: Peter Boughton [mailto:[email protected]] 
Sent: Tuesday, August 24, 2010 4:58 AM
To: cf-talk
Subject: Re: RegEx: Grabbing Keywords from Referers


><cfset keywords = reMatchNoCase("[?|&][p|q]=[^&]+", referer)>

This is incorrect - the | is a literal in character classes.

You want [?&][pq]=[^&]+



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

Reply via email to