RE: RegExp puzzle

2003-10-23 Thread [EMAIL PROTECTED]
ailto:[EMAIL PROTECTED] Sent: 23 October 2003 15:53 To: CF-Talk Subject: RE: RegExp puzzle -Original Message- From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED] Sent: donderdag 23 oktober 2003 16:36 To: CF-Talk Subject: Re:RegExp puzzle Sorry, I haven't made my question clear in the begin

RE: RegExp puzzle

2003-10-23 Thread Pascal Peters
-Original Message- From: Chunshen (Don) Li [mailto:[EMAIL PROTECTED] Sent: donderdag 23 oktober 2003 16:36 To: CF-Talk Subject: Re:RegExp puzzle Sorry, I haven't made my question clear in the beginning.  The goal is, to skip letters and numbers, find/match/see if a string that contains a

RE: RegExp puzzle

2003-10-23 Thread Pascal Peters
What you are saying with the regexp is that you want to match all characters except: letters, numbers and _ @ % $ (these are your valid characters) As your string only contains valid characters (see above), the block will not execute. Your original regexp would have the same result. -Ori

RE: RegExp puzzle

2003-10-22 Thread Matthew Walker
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

RE: RegExp puzzle

2003-10-22 Thread LI, Chunshen \(Don\)
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

RE: RegExp puzzle

2003-10-22 Thread Matthew Walker
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

RegExp puzzle

2003-10-22 Thread LI, Chunshen \(Don\)
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.   output the whole str   -- in this case, it should return the str Thanks. Don Li [Todays Threads]