SVGHMI: Enforce formating HMI_LOCAL and PAGE_LOCAL variables until the end of variable name
--- a/svghmi/hmi_tree.ysl2 Thu Feb 04 21:23:58 2021 +0100
+++ b/svghmi/hmi_tree.ysl2 Tue Feb 09 07:41:24 2021 +0100
@@ -120,10 +120,10 @@
}
}
choose {
- when "regexp:test($path,'^\.[a-zA-Z0-9_]+')" {
+ when "regexp:test($path,'^\.[a-zA-Z0-9_]+$')" {
attrib "type" > PAGE_LOCAL
}
- when "regexp:test($path,'^[a-zA-Z0-9_]+')" {
+ when "regexp:test($path,'^[a-zA-Z0-9_]+$')" {
attrib "type" > HMI_LOCAL
}
otherwise {