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;