class Rouge::RegexLexer
def groups(*tokens)
Yield tokens corresponding to the matched groups of the current
def groups(*tokens) tokens.each_with_index do |tok, i| yield_token(tok, @current_stream[i+1]) end end
def groups(*tokens) tokens.each_with_index do |tok, i| yield_token(tok, @current_stream[i+1]) end end