From: Jeff 'japhy' Pinyan Date: 2002-02-20T08:38:01+09:00 Subject: Re: strings embedded inside strings [posted & mailed] On Feb 19, Paul Brannan said: >I've seen this on the ML before, but searching the ruby-talk archives I >don't see a good answer. > >I want to do this: > > puts "#{"'"}" That's why Ruby offers %q and %qq. puts "#{ %q(') }" I'm sure your case is a bit more complicated, but anyway. -- Jeff "japhy" Pinyan japhy@pobox.com http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** what does y/// stand for? why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ]