# HG changeset patch
# User Edouard Tisserant
# Date 1654067353 -7200
# Node ID 49fcd5d62139cd6ef02399603ab36e9791662415
# Parent  4f252e8d67595d73480267184ddd95cc698dc32b
SVGHMI: fix parsing of floating point and negative min and max limits in widget label syntax.

diff -r 4f252e8d6759 -r 49fcd5d62139 svghmi/parse_labels.ysl2
--- 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"
 {