Here it is...

http://www.houseoffusion.com/groups/regex/thread.cfm/threadid:211#1128

> -----Original Message-----
> From: Paolo Piponi [mailto:[email protected]]
> Sent: 13 January 2009 15:40
> To: cf-talk
> Subject: RegExp - how to escape a zero
> 
> Never had this before and while there is a simple hack that gets round
> it I wonder if someone knows the correct solution.
> 
> I have this regexp "([A-D])([A-D])" because I want to find two of these
> chars and insert a 0 between.
> 
> My replacement string is "\10\2", which is \1 + 0 + \2. However,
> because a zero sits between it becomes "\10" which doesn't exist.
> 
> How can I insert a "0" without it being read as part of the previous
> "1".
> 
> (Note that using #chr(48)# doesn't work)
> 
> Any CF regexp experts have an idea?
> 
> --
> Paolo


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317860
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to