content.gsub!( /\xe2\x80\x99/ms, "'" )
Sunday, May 16, 2010
Ruby Hex Escaping
How to represent characters in regular expressions in hexadecimal format?
Subscribe to:
Posts (Atom)
content.gsub!( /\xe2\x80\x99/ms, "'" )