From: Jason Perkins Date: 2006-03-31T12:07:27+09:00 Subject: Re: turning off interpolation in a regex On Mar 30, 2006, at 8:53 PM, Joel VanderWerf wrote: > s = original_string.gsub(/\*count\*/, 'count of #{object.count}') > > # set object somehow > > eval "\"#{s}\"" Thank you, Joel. -- Jason Perkins jperkins@sneer.org "The computer allows you to make mistakes faster than any other invention, with the possible exception of handguns and tequila."