]> git.lyx.org Git - features.git/commitdiff
Fix typo
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 27 May 2023 15:37:00 +0000 (11:37 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 27 May 2023 15:37:00 +0000 (11:37 -0400)
src/Text.cpp

index 923fc1db6cba8c72ad4ffefcc89963a8b4295060..80bd80c1d5631641429c97d0fbc041c89b1481c5 100644 (file)
@@ -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));