History

Improve search string normalization

Thibaut committed 11 years ago

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

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/app/searcher.coffee+1−1
@@ -113,7 +113,7 @@ class app.Searcher · 112 unmodified lines
113113 fuzzy_min_length: 3
114114
115115 SEPARATORS_REGEXP = /\:?\ |#|::|->/g
116− PARANTHESES_REGEXP = /\(.*?\)$/
116+ PARANTHESES_REGEXP = /\(\w.*?\)$/
117117 EVENT_REGEXP = /\ event$/
118118 DOT_REGEXP = /\.+/g
119119 WHITESPACE_REGEXP = /\s/g

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t