diff --git a/src/LaTeX.C b/src/LaTeX.C index 7590361926..e9d932178f 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -609,7 +609,7 @@ void LaTeX::deplog(DepTable & head) string logfile = OnlyFilename(ChangeExtension(file, ".log")); - LRegex reg1(")* *\\(([^ \\)]+).*"); + LRegex reg1("\\)* *\\(([^ )]+).*"); LRegex reg2("File: ([^ ]+).*"); LRegex reg3("No file ([^ ]+)\\..*"); LRegex reg4("\\\\openout[0-9]+.*=.*`([^ ]+)'\\..*");