class Regexp::Scanner

def append_literal(data, ts, te)

by a call to emit_literal.
Appends one or more characters to the literal buffer, to be emitted later
def append_literal(data, ts, te)
  self.literal = literal || []
  literal << copy(data, ts, te)
end