module Regexp::Scanner

def self.append_literal(data, ts, te)

by a call to emit_literal. Contents can be 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 << text(data, ts, te)
end