From: Dudebot Date: 2010-02-28T04:25:02+09:00 Subject: Re: Interpolation question Thanks, Luc, but that's not what I need. That produces this is an wibble of stuff bobble instead of this is an 2.0 of stuff 3.0 I need it to interpolate the value of the expressions, not the expressions themselves. Is this not possible in Ruby? On Feb 27, 1:16 pm, Luc Heinrich wrote: > On 27 févr. 2010, at 19:58, Dudebot wrote: > > > newtext = text.gsub( /(.*?)<\/field>/, "#{\1}" ) > > newtext = text.gsub( /(.*?)<\/field>/, '\1' ) > > -- > Luc Heinrich - l...@honk-honk.com