I do not think so..

[[:space:]] will match one space character

[[:space:]]* will match *ANY* range of space characters

So,

foo = "this is something with some spaces"

ReReplace(foo, "[[:space:]]", "!")

Makes foo

"this!is something with some spaces"

First space character only....


Jeremy
-----Original Message-----
From: Steve Bernard [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 1:29 PM
To: [EMAIL PROTECTED]
Subject: RE: REGEX for a space


The problem is that [[::space::]] is ANY of a range of "space" characters.

Steve

-----Original Message-----
From: Jeremy Allen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 1:25 PM
To: [EMAIL PROTECTED]
Subject: RE: REGEX for a space


Allaire uses something terrible like [[:space:]] and [[:print:]]

instead of \s

for its backslash type stuff.  It makes some Regex, huge but it is
functional.


Jeremy
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to