commit c0b73f6fd10bfa2639f808b06731ebc65cfb67ab
Author: Juergen Spitzmueller <[email protected]>
Date: Tue Jun 17 18:17:31 2025 +0200
Fix regexp
labels can consist of more than letters
---
src/LaTeX.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 8e72b6715d..30f1ab0d62 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -840,7 +840,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
bool fle_style = false;
static regex const file_line_error(".+\\.\\D+:[0-9]+: (.+)");
static regex const child_file("[^0-9]*([0-9]+[A-Za-z]*_.+\\.tex).*");
- static regex const undef_ref(".*Reference `(\\w+)\\' on page.*");
+ static regex const undef_ref(".*Reference `(.+)\\' on page.*");
// Flag for 'File ended while scanning' message.
// We need to wait for subsequent processing.
string wait_for_error;
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs