]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.cpp
Fix crash noticed by Bennett:
[lyx.git] / src / LaTeX.cpp
index 658c5f5519ae3e249ae636b8c1415a26af0db544..b8a3d1a7833eb22609e0cb93ac47ae93e5839373 100644 (file)
@@ -1025,7 +1025,7 @@ void LaTeX::deplog(DepTable & head)
                // where "File: file.ext" would be skipped
                if (regex_match(token, sub, reg6)) {
                        // search for strings in (...)
-                       static regex reg6_1("\\(([^()]+)(.).*");
+                       static regex reg6_1("\\(([^()]+)(.)");
                        smatch what;
                        string::const_iterator first = token.begin();
                        string::const_iterator end = token.end();