class Regexp::Lexer
def self.lex(input, syntax = nil, options: nil, collect_tokens: true, &block)
def self.lex(input, syntax = nil, options: nil, collect_tokens: true, &block) new.lex(input, syntax, options: options, collect_tokens: collect_tokens, &block) end