RE: Wildcard in statements

2003-02-21 Thread Barney Boisvert
No, not with a direct string comparison. You must make your pilgrimage to the temple of RegEx. cfif REfind(http://www\.mysite\.com/folder/.*\.cfm;, cgi.http_referer) GT 0 that should do it. barneyb -Original Message- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Friday, February

RE: Wildcard in statements

2003-02-21 Thread Mark Leder
Thanks fellow pilgrim :o) Thanks, Mark -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 4:30 PM To: CF-Talk Subject: RE: Wildcard in statements No, not with a direct string comparison. You must make your pilgrimage to the temple

RE: Wildcard in statements

2003-02-21 Thread S . Isaac Dealey
No, not with a direct string comparison. You must make your pilgrimage to the temple of RegEx. cfif REfind(http://www\.mysite\.com/folder/.*\.cfm;, cgi.http_referer) GT 0 I'd add the beginning of string and end of string markers just to be thorough. cfif

RE: Wildcard in statements

2003-02-21 Thread Ben Doom
: -Original Message- : From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] : Sent: Friday, February 21, 2003 5:25 PM : To: CF-Talk : Subject: RE: Wildcard in statements : : : No, not with a direct string comparison. You must make : your pilgrimage to : the temple of RegEx. : : cfif REfind(http://www

RE: Wildcard in statements

2003-02-21 Thread S . Isaac Dealey
defeat your enemies .. er .. problems. -- Ben Doom Programmer General Lackey Moonbow Software, Inc : -Original Message- : From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] : Sent: Friday, February 21, 2003 5:25 PM : To: CF-Talk : Subject: RE: Wildcard in statements

Re: Wildcard in statements

2003-02-21 Thread jonhall
Question already answered, but I don't see why the wouldn't be possible with standard string functions. Just looking at your single line of pseudo-code, it looks like you want to know if the referer is a cfm template in a certain directory. This bit of code would do that and would definitely

Re: Wildcard in statements

2003-02-21 Thread S . Isaac Dealey
There's no reason why it couldn't -- those of us familiar with regular expressions answered the question with regex immediately for 2 reasons: 1) because the way the question is phrased brings regex immediately to mind for us and 2) because to a man with a hammer, every problem looks like a nail.

RE: Wildcard in statements

2003-02-21 Thread Barney Boisvert
barneyb -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 6:12 PM To: CF-Talk Subject: Re: Wildcard in statements There's no reason why it couldn't -- those of us familiar with regular expressions answered the question with regex