Sunday, May 16, 2010

Ruby Hex Escaping

How to represent characters in regular expressions in hexadecimal format?
content.gsub!( /\xe2\x80\x99/ms, "'" )