|
From: | Arash Esbati |
Subject: | Re: Reporting warnings from pdftex itself (not LaTeX macro layer) |
Date: | Fri, 29 Nov 2024 12:22:54 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
Andreas Matthias <andreas.matthias@gmail.com> writes: > The following regexp find LuaTeX's TeX-warnings: > > "\\(?:LaTeX\\|Class\\|Package\\|pdfTeX\\|\\*\\)? ?[-A-Za-z0-9]* > ?[Ww]arning\\(?: +([- A-Za-z0-9]+)\\)?:" This is probably a little safer in case we have non-ASCII chars in the log: "\\(?:LaTeX\\|Class\\|Package\\|pdfTeX\\|\\*\\)? ?[-[:alnum:]]* ?[Ww]arning\\(?: +([- [:alnum:]]+)\\)?:" And I think we can reduce this to: "\\(?:LaTeX\\|Class\\|Package\\|pdfTeX\\|\\*\\)?[- [:alnum:]]*[Ww]arning\\(?: +([^)]+)\\)?:" Best, Arash
[Prev in Thread] | Current Thread | [Next in Thread] |