diff options
Diffstat (limited to 'lib/rdoc/generator')
-rw-r--r-- | lib/rdoc/generator/template/json_index/js/searcher.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/generator/template/json_index/js/searcher.js b/lib/rdoc/generator/template/json_index/js/searcher.js index f854b541d0..0419f2a117 100644 --- a/lib/rdoc/generator/template/json_index/js/searcher.js +++ b/lib/rdoc/generator/template/json_index/js/searcher.js @@ -52,13 +52,13 @@ Searcher.prototype = new function() { /* ----- Utilities ------ */ function splitQuery(query) { return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) { - return string.match(/\S/) + return string.match(/\S/); }); } function buildRegexps(queries) { return jQuery.map(queries, function(query) { - return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i') + return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i'); }); } |