History

Improve search string normalization

Thibaut committed 11 years ago

Commit ef7dbbe1 parent 7b946161 file · +1 −1Browse files

Unified · Split

assets/javascripts/app/searcher.coffee+1−1
@@ -113,7 +113,7 @@ class app.Searcher · 112 unmodified lines
113 fuzzy_min_length: 3113 fuzzy_min_length: 3
114 114
115 SEPARATORS_REGEXP = /\:?\ |#|::|->/g115 SEPARATORS_REGEXP = /\:?\ |#|::|->/g
116 PARANTHESES_REGEXP = /\(.*?\)$/116 PARANTHESES_REGEXP = /\(\w.*?\)$/
117 EVENT_REGEXP = /\ event$/117 EVENT_REGEXP = /\ event$/
118 DOT_REGEXP = /\.+/g118 DOT_REGEXP = /\.+/g
119 WHITESPACE_REGEXP = /\s/g119 WHITESPACE_REGEXP = /\s/g