diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/static/js/search-worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/search-worker.js b/src/static/js/search-worker.js index 8d987a74..1b4684ad 100644 --- a/src/static/js/search-worker.js +++ b/src/static/js/search-worker.js @@ -515,7 +515,7 @@ function processTerms(query) { const termRegexp = new RegExp( String.raw`(?<kind>${kindTermSpec.flatMap(spec => spec.terms).join('|')})` + - String.raw`|\S+`, + String.raw`|[^\s\-]+`, 'gi'); for (const match of query.matchAll(termRegexp)) { |