class Rspec::Mocks::ArgumentMatchers::RegexpMatcher

def ==(value)

def ==(value)
  return value =~ @regexp unless value.is_a?(Regexp)
  value == @regexp
end

def initialize(regexp)

def initialize(regexp)
  @regexp = regexp
end