cottonTracks / extension

1 stars 0 forks source link

Split Regexp #147

Open moutard opened 11 years ago

moutard commented 11 years ago

in the file algo/common/words_extractor.js Cotton.Algo.Tools.extractWordsFromTitle

this regexp doesnt really work. And it' seems not tested.

ex: "Wolfgang Amadeus Mozart - Wikipédia" return: ["Wolfgang", "Amadeus", "Mozart", "", "", "Wikipédia"] 2 empty strings.