class RSpec::Mocks::ArgumentMatchers::RegexpMatcher

def ==(value)

def ==(value)
  Regexp === value ? value == @regexp : value =~ @regexp
end

def initialize(regexp)

def initialize(regexp)
  @regexp = regexp
end