module Regexp::Scanner

def self.append_literal(data, ts, te)

by a call to emit_literal. contents a mix of ASCII and UTF-8
appends one or more characters to the literal buffer, to be emitted later
def self.append_literal(data, ts, te)
  @literal ||= []
  @literal << [data[ts..te-1].pack('c*'), ts, te]
end