History

Improve search for strings containing '$'

Fix #272.

Thibaut committed 11 years ago

Commit 97fe54d1 parent 93dcd381 file · +1 −1Browse files

Unified · Split

assets/javascripts/app/searcher.coffee+1−1
@@ -112,7 +112,7 @@ class app.Searcher · 111 unmodified lines
112112 max_results: app.config.max_results
113113 fuzzy_min_length: 3
114114
115− SEPARATORS_REGEXP = /\:?\ |#|::|->/g
115+ SEPARATORS_REGEXP = /\:?\ |#|::|->|\$(?=\w)/g
116116 INFO_PARANTHESES_REGEXP = /\(\w+?\)$/
117117 EMPTY_PARANTHESES_REGEXP = /\(\)/
118118 EVENT_REGEXP = /\ event$/