.
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>
Many thanks.
>Yes. You can use the posix class: [:alnum:] if you like.
>
>
>
>[^[:alnum:[EMAIL PROTECTED]
>
>
>
>-----Original Message-----
>From: LI, Chunshen (Don) [mailto:[EMAIL PROTECTED]
>Sent: Thursday, 23 October 2003 4:14 p.m.
>To: CF-Talk
>Subject: RE: RegExp puzzle
>
>
>
>Great. Then would this [EMAIL PROTECTED] read:
>find everything other than A through Z, a through z,
>0 through 9, and @, and %, and $
>?
>
>Thanks.
>
>Don Li
>
>--- Matthew Walker <[EMAIL PROTECTED]> wrote:
>> <cfif reFind("[[:space:]##%]", str)>
>>
>>
>>
>> This will succeed if any white space, %, or # is
>> found. Is that what you
>> want? Watch
>>
>>
>>
>> -----Original Message-----
>> From: LI, Chunshen (Don) [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, 23 October 2003 3:46 p.m.
>> To: CF-Talk
>> Subject: RegExp puzzle
>>
>>
>>
>> Hi,
>>
>> Some RegExp expertise would be appreciated.
>>
>> Goal: find nonstandard characters in the string no
>> matter where they appear.
>> Nonstandard characters include white space, %, # in
>> this case.
>>
>> <cfset str = "kskksjsdcol%">
>> <cfif REfind('[EMAIL PROTECTED]',str)>
>> output the whole str
>> -- in this case, it should return the str
>> </cfif>
>>
>> Thanks.
>>
>> Don Li
>>
>>
>>
>> _____
>>
>>
>>
>
>
>
> _____
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

