Re: RegEx: Grabbing Keywords from Referers

2010-08-24 Thread Peter Boughton
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!

RE: RegEx: Grabbing Keywords from Referers

2010-08-24 Thread Che Vilnonis
Thanks for the update Peter. -Original Message- From: Peter Boughton [mailto:bought...@gmail.com] 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

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
Nice solution John. Thanks! Definitely different than mine. I wonder if the regex gurus have a solution as well. ;) -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Monday, August 23, 2010 1:00 PM To: cf-talk Subject: Re: Grabbing Keywords from Referers This

Re: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread John M Bliss
I wonder if the regex gurus have a solution as well. Oh, I'm sure. :-) On Mon, Aug 23, 2010 at 12:54 PM, Che Vilnonis ch...@asitv.com wrote: Nice solution John. Thanks! Definitely different than mine. I wonder if the regex gurus have a solution as well. ;) -Original Message-

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Andy Matthews
=coldfusion q=f Not sure where the second q= came from. I just did a search on the Google homepage for ColdFusion. andy -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Monday, August 23, 2010 12:54 PM To: cf-talk Subject: RE: RegEx: Grabbing Keywords from Referers Nice

Re: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread John M Bliss
- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Monday, August 23, 2010 12:54 PM To: cf-talk Subject: RE: RegEx: Grabbing Keywords from Referers Nice solution John. Thanks! Definitely different than mine. I wonder if the regex gurus have a solution as well. ;) -Original Message

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Andy Matthews
=CJtNhsL9yTK_zHIWWhgTb-J3tDwAAAKoEBU_QXcSj It only matches ?q=coldfusion or q=coldfusion -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Monday, August 23, 2010 1:48 PM To: cf-talk Subject: Re: RegEx: Grabbing Keywords from Referers Not sure where the second q= came

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
Wow. That works very well. Thanks! -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Monday, August 23, 2010 2:55 PM To: cf-talk Subject: RE: RegEx: Grabbing Keywords from Referers Ah. The text was so small in my testing app that I couldn't tell what

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Che Vilnonis
Andy thanks again so much... this seems to work with Yahoo,Bing Google. My RegEx skills are a work in progress. cfset referer = http://search.yahoo.com/search;_ylt=Aqj24Omsi1LGKlDY4_G1hi6bvZx4?fr=yfp-t-7 01-stoggle=1cop=mssei=UTF8p=children%20karate%20uniform cfset keywords =

RE: RegEx: Grabbing Keywords from Referers

2010-08-23 Thread Andy Matthews
Awesome Che! Glad I could be of help! andy -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Monday, August 23, 2010 3:01 PM To: cf-talk Subject: RE: RegEx: Grabbing Keywords from Referers Andy thanks again so much... this seems to work with Yahoo,Bing Google