From: Kornelius Kalnbach Date: 2009-02-06T10:27:09+09:00 Subject: [ruby-core:21874] Re: What does this regexp mean - /\c#{_J}/ Shri Borde wrote: > it "allows substitution to interact with other Regexp constructs" do > ... Tomas Matousek wrote: > \c converts the following character (which happens to be # in this > case) to a control character. So #{} is not treated as an expression > in this case. > > irb(main):001:0> "\c#{foo}" => "\003{foo}" thank you both, I was able to fix a related bug in my highlighting library with your example code and explanation. [murphy]