lib/spot/clean.rb in spot-2.0.1 vs lib/spot/clean.rb in spot-2.0.4

- old
+ new

@@ -24,14 +24,14 @@ # 10. Song => Song [ /\.[a-z0-9]{2,3}$/, /\[[^\]]*\]/, /".*"/, - /'.*'[^s]/, + /(\s+|^)'.*'(\s+|$)/, /[&|\/|\+][^\z]*/, /^(\d+.*?[^a-z]+?)/i ].each do |reg| - string = string.gsub(reg, '').strip + string = string.gsub(reg, ' ').strip end [ /\(.+?\)/m, /[^a-z0-9]feat(.*?)\s*[^\s]+/i, \ No newline at end of file