From: ts Date: 2002-01-30T03:01:15+09:00 Subject: Re: problems with string interpolation >>>>> "a" == ara howard writes: a> i understand the faq, but *why* would a string be *completely* a> reinterpolated? Well you have 2 steps with this construct s.gsub(%r{([^A-Za-z])}, '\\\\\1') 1) when ruby compile the script, it create a String with the second argument at this step the string created is '\\\1' it has interpreted \\ as \ 2) the String is given to the regexp engine and it's interpreted again. This is the regexp engine which replace \1 by the value, this is why it must re-interpret the string. Guy Decoux a> ps. you are all over this group, don't you work!? :-) never, but don't repeat it :-)