Better yet, avoid the issue altogether.  There's no need for using a Regex just
to find a space.  A regular "Find" will work nicely.  Regexes are better served
for complex matches where a standard find just won't do the trick.

tom

----- Original Message -----
From: "Jeremy Allen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 11, 2000 1:45 PM
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
>
> -----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.

------------------------------------------------------------------------------
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