# File lib/rspec/mocks/argument_matchers.rb, line 38 def ==(value) Regexp === value ? value == @regexp : value =~ @regexp end