lib/muflax/regex.rb in muflax-0.3.1 vs lib/muflax/regex.rb in muflax-0.3.2

- old
+ new

@@ -19,10 +19,12 @@ end 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