class Regexp::Lexer

def self.lex(input, syntax = "ruby/#{RUBY_VERSION}", &block)

def self.lex(input, syntax = "ruby/#{RUBY_VERSION}", &block)
  new.lex(input, syntax, &block)
end