On 3 Jun 2006, at 15:06, mitchell wrote:
> Actually that was just a simple example. The big idea is to be able to
> escape '}'s in any inputted string. I later figured that replacing any
> '\}' with some value (such as '}'s hex code) would work, but playing
> with regex sometimes can be enlightening :) Thanks for the input  
> though.
> Much appreciated.

I think I have the wrong end of the stick here, but is Regexp::escape  
any use to you?

Cheers,
	Benjohn