commit 6e3bdd89b98215091eda96d21cb8e98013ac6c86
Author: Juergen Spitzmueller <[email protected]>
Date: Tue Jun 17 18:17:31 2025 +0200
Fix regexp
labels can consist of more than letters
(cherry picked from commit c0b73f6fd10bfa2639f808b06731ebc65cfb67ab)
---
src/LaTeX.cpp | 2 +-
status.24x | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index 84141d8341..3225867ac2 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -806,7 +806,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;
diff --git a/status.24x b/status.24x
index 97935581e3..bf8f48d487 100644
--- a/status.24x
+++ b/status.24x
@@ -45,6 +45,8 @@ What's new
- Fix clash of double \LyXZeroWidthSpace definition.
+- Fix check of broken cross-references (false negatives).
+
* USER INTERFACE
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs