class Regexp::Parser

def self.parse(input, syntax = "ruby/#{RUBY_VERSION}", options: nil, &block)

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