beremiz

Parents 4f252e8d6759
Children 9d895a103019
SVGHMI: fix parsing of floating point and negative min and max limits in widget label syntax.
--- a/svghmi/parse_labels.ysl2 Mon May 30 12:44:04 2022 +0200
+++ b/svghmi/parse_labels.ysl2 Wed Jun 01 09:09:13 2022 +0200
@@ -13,7 +13,7 @@
// path value="path4" index="path4" type="HMI_LOCAL";
// }
//
-const "pathregex",!"'^([^\[,]+)(\[[^\]]+\])?([\d,]*)$'"!;
+const "pathregex",!"'^([^\[,]+)(\[[^\]]+\])?([-.\d,]*)$'"!;
template "*", mode="parselabel"
{