raw must be in BINARY encoding in 1.9
42 43 44
# File 'lib/hexdump.rb', line 42 def self.regex_quote_n(raw) Regexp.quote(raw) end