[LyX/master] Fix typo

Richard Kimberly Heck rikiheck at lyx.org
Sat May 27 14:27:48 UTC 2023


commit 04fe6c89dc0e40b9483029b53c97fd5081dc165f
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sat May 27 11:37:00 2023 -0400

    Fix typo
---
 src/Text.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Text.cpp b/src/Text.cpp
index 923fc1d..80bd80c 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -5396,7 +5396,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
 			// invalid after regex_match returns, since it is then
 			// being given a temporary object. (Thanks to Georg for
 			// figuring that out.)
-			regex const link_re("^(([a-z]+):|www\.).*");
+            regex const link_re("^(([a-z]+):|www\\.).*");
 			smatch matches;
 			string const c = to_utf8(lowercase(content));
 


More information about the lyx-cvs mailing list