lib/muflax/regex.rb in muflax-0.3.2 vs lib/muflax/regex.rb in muflax-0.3.3
- old
+ new
@@ -20,12 +20,5 @@
self
end
alias :gsub_all! :mgsub!
end
-
-class Regexp
- # ruby 2.3 compat
- def match?(string, pos = 0)
- !!match(string, pos)
- end unless //.respond_to?(:match?)
-end