characters except:
letters, numbers and _ @ % $ (these are your valid characters)
As your string only contains valid characters (see above), the <cfif>
block will not execute. Your original regexp would have the same result.
-----Original Message-----
From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED]
Sent: donderdag 23 oktober 2003 16:13
To: CF-Talk
Subject: Re:RegExp puzzle
Almost there. Now, I see why initially I was confused. Initially, the
RegExp syntax like [EMAIL PROTECTED] was in SQL STMT, and I simply copied
it to CF without realizing the fact that CF's implementation of RegExp
differs from that of SQL (in MS SQL Server case)
.
the ^[:alnum:] part works in the following REfind function while
the [EMAIL PROTECTED] part not. Do you know why? I'm on CF6.0 for
Windows.
<cfset str = "kskksjsdcol%">
<cfif REfind('[^[:alnum:[EMAIL PROTECTED]',str)>
...
</cfif>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

