Commit a2e1bd92 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

ignore case for pd META tags

parent b0d554fa
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment