I never made any mention of how many instances of a particular character it
would find. What I mean is that [[::space::]] is a class identifier. The
SPACE class includes several characters that are considered whitespace. So
searching/replacing for [[::space::]] will match more than just the " "
character.
Steve
-----Original Message-----
From: Jeremy Allen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 1:46 PM
To: [EMAIL PROTECTED]
Subject: RE: REGEX for a space
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
------------------------------------------------------------------------------
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.