branch | svghmi |
changeset 3127 | d4dfd47f8156 |
parent 3097 | a098b2dd9dff |
child 3129 | f2709923c82c |
--- 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 {