diff --git a/res/resfiles/scripts/Hooks/logParser.js b/res/resfiles/scripts/Hooks/logParser.js index 8a7d5965a..ce8084561 100644 --- a/res/resfiles/scripts/Hooks/logParser.js +++ b/res/resfiles/scripts/Hooks/logParser.js @@ -110,7 +110,7 @@ function LogParser() { // Additionally, it recognizes other warnings like "LaTeX Font Warning: ...\n(Font) ...". // The macro \GenericWarning does not produce formatted output, so it is impossible // to match it. We need to look for output generated by higher level commands. - Regex: new RegExp("^(?:Class|Package|LaTeX) ([^\\s]+) Warning: (?:(?:\\(\\1\\)\\s.+)+|.+\n)*.*\\.\n"), + Regex: new RegExp("^(?:Class|Package|LaTeX3?|Module) ([^\\s]+) Warning: (?:(?:\\(\\1\\)\\s.+)+|.+\n)*.*\n"), Callback: function (m, f) { // We remove "\n() " from description: var desc = m[0].replace(new RegExp("^(.{0," + (max_print_line - 1) + "})$", "gm"), "$1 ")