From: William Djaja Tjokroaminata Date: 2002-09-17T23:53:48+09:00 Subject: Re: comments and continuing strings on the next line Hi, In my opinion, the #{expression} rule ought to take precedence than the comment rule (comment from # until the end of line). Just like in C, where a /* */ comment becomes ineffective inside a string, and also in Ruby, so I usually regard #{...} as another "mini-interpreter" where .... is "eval"-ed in its own space. Is there any drawback in the rule in 1.6 so that it should be changed in 1.7? Regards, Bill ========================================================================== nobu.nokada@softhome.net wrote: > This style comment inside string no longer works in 1.7, right > brace and backslash are part of the comment. Instead, this > works in both of 1.6 and 1.7: > foo = %Q!\ > this is a string #{#some comment > }\ > that is continued on a second line > ! > Once we had a little discussion on inline comment, but still no > conclusion. > -- > Nobu Nakada