]> git.lyx.org Git - lyx.git/commitdiff
GuiLog: don't miss package warnings for packages with dashes
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 16 Oct 2022 10:08:21 +0000 (12:08 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 16 Oct 2022 10:08:21 +0000 (12:08 +0200)
(e.g. scrlayer-scrpage)

src/frontends/qt/GuiLog.cpp

index 6fac3603e7d44f89d2515b826c9ade6657df1c98..f908c8fb1872c4ab43594614cc3643b59c794d92 100644 (file)
@@ -52,7 +52,7 @@ QRegExp exprError("^(ERROR: |!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR -
 // Information
 QRegularExpression exprInfo("^(Document Class:|LaTeX Font Info:|File:|Package:|Language:|.*> INFO - |\\(|\\\\).*$");
 // Warnings
-QRegularExpression exprWarning("^(## Warning|LaTeX Warning|LaTeX Font Warning|Package [\\w\\.]+ Warning|Class \\w+ Warning|Warning--|Underfull|Overfull|.*> WARN - ).*$");
+QRegularExpression exprWarning("^(## Warning|LaTeX Warning|LaTeX Font Warning|Package [\\w\\-\\.]+ Warning|Class \\w+ Warning|Warning--|Underfull|Overfull|.*> WARN - ).*$");
 // Errors
 QRegularExpression exprError("^(ERROR: |!|.*---line [0-9]+ of file|.*> FATAL - |.*> ERROR - |Missing character: There is no ).*$");
 #endif