From: Igor Pirnovar Date: 2009-02-21T04:32:24+09:00 Subject: Re: Un-escaping hexadecimal code Jeff Schwab wrote: > SyntaxError: compile error > (irb):2: syntax error, unexpected '{', expecting $end > s.gsub! /%([\da-fA-F][\da-fA-F])/ { $1.to_i(16).chr } > ^ Sorry, in Ruby 1.9 this is no longer a Syntax Error -- Posted via http://www.ruby-forum.com/.