lib/fuzzy_match/blocking.rb in fuzzy_match-1.1.1 vs lib/fuzzy_match/blocking.rb in fuzzy_match-1.2.1

- old
+ new

@@ -22,10 +22,10 @@ # Returns false if they certainly don't fit this blocking. # Returns nil if the blocking doesn't apply, i.e. str2 doesn't fit the blocking. def join?(str1, str2) if str2_match_data = regexp.match(str2) if str1_match_data = regexp.match(str1) - str2_match_data.captures == str1_match_data.captures + str2_match_data.captures.join.downcase == str1_match_data.captures.join.downcase else false end else nil