Sha256: 2805722d885f6727296ec88c7d56b17e18e845d3f8adccd3f0d0e353728f1ab5

Contents?: true

Size: 122 Bytes

Versions: 7

Compression:

Stored size: 122 Bytes

Contents

class Regexp
  unless //.respond_to?(:match?)
    def match? string, pos = 0
      !!match(string, pos)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dirwatch-0.0.9 lib/dirwatch/extensions/regexp.rb
dirwatch-0.0.8 lib/dirwatch/extensions/regexp.rb
dirwatch-0.0.7 lib/dirwatch/extensions/regexp.rb
dirwatch-0.0.6 lib/dirwatch/extensions/regexp.rb
dirwatch-0.0.5 lib/dirwatch/extensions/regexp.rb
dirwatch-0.0.4 lib/dirwatch/extensions/regexp.rb
dirwatch-0.0.3 lib/dirwatch/extensions/regexp.rb