History

Improve search for entries with "-" in the name

Thibaut Courouble committed 10 years ago

Commit 9c9b2ac1 parent 4b760a21 file · +1 −1Browse files

Unified · Split

assets/javascripts/app/searcher.coffee+1−1
@@ -112,7 +112,7 @@ class app.Searcher · 111 unmodified lines
112 max_results: app.config.max_results112 max_results: app.config.max_results
113 fuzzy_min_length: 3113 fuzzy_min_length: 3
114 114
115 SEPARATORS_REGEXP = /\:?\ |#|::|->|\$(?=\w)/g115 SEPARATORS_REGEXP = /\:?\ |#|::|->|\$(?=\w)|\-(?=\w)/g
116 INFO_PARANTHESES_REGEXP = /\ \(\w+?\)$/116 INFO_PARANTHESES_REGEXP = /\ \(\w+?\)$/
117 EMPTY_PARANTHESES_REGEXP = /\(\)/117 EMPTY_PARANTHESES_REGEXP = /\(\)/
118 EVENT_REGEXP = /\ event$/118 EVENT_REGEXP = /\ event$/