diff --git a/assets/javascripts/app/searcher.coffee b/assets/javascripts/app/searcher.coffee index 342a82df..932c580f 100644 --- a/assets/javascripts/app/searcher.coffee +++ b/assets/javascripts/app/searcher.coffee @@ -112,7 +112,7 @@ class app.Searcher max_results: app.config.max_results fuzzy_min_length: 3 - SEPARATORS_REGEXP = /\:?\ |#|::|->|\$(?=\w)/g + SEPARATORS_REGEXP = /\:?\ |#|::|->|\$(?=\w)|\-(?=\w)/g INFO_PARANTHESES_REGEXP = /\ \(\w+?\)$/ EMPTY_PARANTHESES_REGEXP = /\(\)/ EVENT_REGEXP = /\ event$/