class Rouge::RegexLexer::Rule

def consume(stream, &b)

def consume(stream, &b)
  stream.scan(@re)
  if stream.matched?
    yield stream
    return true
  end
  false
end

def initialize(re, callback, next_state)

def initialize(re, callback, next_state)
  @re = re
  @callback = callback
  @next_state = next_state
end

def inspect

def inspect
  "#<Rule #{@re.inspect}>"
end