From 3ba0c3d7958dad891e125e065a41d95faac47c6e Mon Sep 17 00:00:00 2001 From: wandererfan Date: Fri, 12 Jan 2024 08:44:22 -0500 Subject: [PATCH] [TD]fix missing \ in regex --- src/Mod/TechDraw/Gui/QGISVGTemplate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/TechDraw/Gui/QGISVGTemplate.cpp b/src/Mod/TechDraw/Gui/QGISVGTemplate.cpp index 72a1e5b894..919616c9c1 100644 --- a/src/Mod/TechDraw/Gui/QGISVGTemplate.cpp +++ b/src/Mod/TechDraw/Gui/QGISVGTemplate.cpp @@ -197,7 +197,7 @@ void QGISVGTemplate::createClickHandles() double charWidth = textHeight * 0.6; QString style = textElement.attribute(QString::fromUtf8("style")); if (!style.isEmpty()) { - QRegularExpression rxFontSize(QString::fromUtf8("font-size:([0-9]*\.?[0-9]*)px;")); + QRegularExpression rxFontSize(QString::fromUtf8("font-size:([0-9]*\\.?[0-9]*)px;")); QRegularExpression rxAnchor(QString::fromUtf8("text-anchor:(middle);")); QRegularExpressionMatch match;