From: Hal Fulton Date: 2003-09-17T08:10:20+09:00 Subject: Re: #{} and \" don't like each other Peter wrote: > I really don't see the problem with interpreting what I wrote. On > encountering '#{' in a string literal, anything up to the first unbalanced > '}' can be interpreted as any general ruby expression, including '\"' in > string literals within that expression, and after encountering the > unbalanced '}' the reading of the original string is resumed until the > closing quote. AFAICS, it is grammatically perfectly sound. I agree, it seems like a reasonable construction. > Maybe we should ask Matz... I think we should. Or we just did. I wonder if it's one of those things that is made difficult by the use of yacc? Hal