On Thu, 2003-01-16 at 09:58, Paul Brannan wrote:

> Note also that if the text you are printing includes a } character, this
> won't work.  You'll have to use %Q[] instead or %Q%some string% (or some
> variant) instead, 

Well, only of the {}'s are unbalanced.  For Example ...

   $ irb --simple-prompt
   >> s = %Q{ this is { just a } test }
   => " this is { just a } test "

-- 
-- Jim Weirich     jweirich / one.net    http://w3.one.net/~jweirich
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)