From a2e1bd92e7d6933ee6a652059d038d23344cf469 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Thu, 12 May 2016 21:51:53 -0400 Subject: [PATCH] ignore case for pd META tags --- pd/nw/dialog_search.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pd/nw/dialog_search.html b/pd/nw/dialog_search.html index e4bbcb7bc..77f9d970c 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) { -- GitLab