Improve search for entries with "-" in the name

pull/382/head
Thibaut Courouble 9 years ago
parent 4b760a24d3
commit 9c9b2aca0d

@ -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$/

Loading…
Cancel
Save