From ff1f7ac546d387a283a7421ba714c0d566d1f006 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 15 May 2015 10:28:38 +0100 Subject: Add ? to the list of query-term separators. --- background_scripts/completion.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index ac234787..8000c62b 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -227,7 +227,7 @@ class HistoryCompleter results = [] HistoryCache.use (history) => searchUrl = Settings.get "searchUrl" - searchUrlTerminator = new RegExp "[&#/]" + searchUrlTerminator = new RegExp "[?&#/]" results = if queryTerms.length > 0 history.filter (entry) -> RankingUtils.matches(queryTerms, entry.url, entry.title) -- cgit v1.2.3