plcopen/plcopen.py
changeset 1693 72286367d0fd
parent 1680 6db967480b7d
child 1695 a63bb4025852
--- a/plcopen/plcopen.py	Tue Jun 06 14:21:53 2017 +0300
+++ b/plcopen/plcopen.py	Thu Jun 08 17:29:41 2017 +0300
@@ -2416,7 +2416,7 @@
 
 cls = PLCOpenParser.GetElementClass("arrayValue", "value")
 if cls:
-    arrayValue_model = re.compile("([0-9]*)\((.*)\)$")
+    arrayValue_model = re.compile("([0-9]+)\((.*)\)$")
     
     def setvalue(self, value):
         elements = []