diff --git a/pd/nw/dialog_search.html b/pd/nw/dialog_search.html index e4bbcb7bca5592617a1336ae65937c267e0946ed..77f9d970c045fb12a3e59b18f2cf58ef97e2d6be 100644 --- a/pd/nw/dialog_search.html +++ b/pd/nw/dialog_search.html @@ -48,9 +48,9 @@ function add_doc_to_index(filename, data) { desc; // We use [\s\S] to match across multiple lines... keywords = big_line - .match(/#X text [0-9]+ [0-9]+ KEYWORDS ([\s\S]*?);/), + .match(/#X text [0-9]+ [0-9]+ KEYWORDS ([\s\S]*?);/i), desc = big_line - .match(/#X text [0-9]+ [0-9]+ DESCRIPTION ([\s\S]*?);/); + .match(/#X text [0-9]+ [0-9]+ DESCRIPTION ([\s\S]*?);/i); keywords = keywords && keywords.length > 1 ? keywords[1].trim() : null; desc = desc && desc.length > 1 ? desc[1].trim() : null; if (desc) {