class Regexp::Lexer
def self.lex(input, syntax = "ruby/#{RUBY_VERSION}", options: nil, &block)
def self.lex(input, syntax = "ruby/#{RUBY_VERSION}", options: nil, &block) new.lex(input, syntax, options: options, &block) end
def self.lex(input, syntax = "ruby/#{RUBY_VERSION}", options: nil, &block) new.lex(input, syntax, options: options, &block) end