tools/templates/mainform.cpp
changeset 10208 f04fdb35fc33
parent 8442 535a00ca0d35
--- a/tools/templates/mainform.cpp	Thu Mar 20 00:59:15 2014 +0400
+++ b/tools/templates/mainform.cpp	Thu Mar 20 17:04:49 2014 +0400
@@ -98,7 +98,7 @@
     xy->rects.clear();
     for (int i = 0; i < sl.size(); ++i)
     {
-        QRegExp re("x:\\s+(\\d+);\\sy:\\s+(\\d+);\\sw:\\s+(\\d+);\\sh:\\s+(\\d+)");
+        QRegExp re("x:\\s*(\\d+);\\sy:\\s*(\\d+);\\sw:\\s*(\\d+);\\sh:\\s*(\\d+)");
         re.indexIn(sl.at(i));
         QStringList coords = re.capturedTexts();
         qDebug() << sl.at(i) << coords;