From: Martin Weber Date: 2003-07-23T01:49:43+09:00 Subject: Re: String substitution without RegEx On Wed, Jul 23, 2003 at 01:38:08AM +0900, ts wrote: > >>>>> "A" == Andreas Schwarz writes: > A> (...) Of course I could > A> write functions to escape regex special chars in the pattern and > A> backreferences in the replacement string, but this is about the ugliest > A> solution I can think of. > > Well Regexp#escape don't do what you want ? It might help him, but I can understand how he feels.. everytime I write a pattern as a regexp which in the end just is a plain string, or a pattern which would do with glob-style matching, I have the impression I'm throwing cannons after pigeons again (nothing against your comp, guy :-) -martin