My $0.02
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 regu
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.
:
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 execu
OTECTED]
> : 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.
> :
> : > http:/
nbow 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
:
:
: > No, not with a direct string comparison. You must make
: > your pilgrimage to
: > the temple of RegE
> No, not with a direct string comparison. You must make
> your pilgrimage to
> the temple of RegEx.
> 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.
http://www\.mysite\.com/folder/.*\.cfm$",cg
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 of
No, not with a direct string comparison. You must make your pilgrimage to
the temple of RegEx.
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 21, 200
8 matches
Mail list logo