From: Peter Date: 2003-09-17T07:38:13+09:00 Subject: Re: #{} and \" don't like each other > Truthfully, I'm not sure why this happens. But since the > warning is accurate and explicit, I don't think it's a bug, > but perhaps one of those features that's it's not immediately > obvious we need. The following simple expression gives exactly the same error message "#{\"}" In this case I'd expect that error message... > FWIW, this avoids it: > > name = "peter" > print "" > > So it evidently has to do specifically with the escaped terminator > *inside* the interpolated part. I know this avoids it, but it was when the name=\"#{name}\" needed to become optional, I moved it all inside the #{} and used the ? : operator to either generate the "name=\"" + name + "\"" or else a simple "". Peter