lib/erratum/simplify.rb in errata-0.1.8 vs lib/erratum/simplify.rb in errata-0.1.9

- old
+ new

@@ -20,11 +20,9 @@ super(row) do row[column].gsub!(matching_expression(row), '') end end - private - def matching_expression(row) @_matching_expressions ||= {} @_matching_expressions[row[second_column]] ||= /[\s\(\[\'\"]*#{Regexp.escape(row[second_column])}[\s\)\]\'\"]*/ end end