diff -r 0f2e5303f212 -r f0a040f1de1b PLCControler.py --- a/PLCControler.py Tue Oct 09 11:43:39 2018 +0300 +++ b/PLCControler.py Tue Oct 09 11:56:45 2018 +0300 @@ -44,8 +44,8 @@ from graphics.GraphicCommons import * from PLCGenerator import * -duration_model = re.compile("(?:([0-9]{1,2})h)?(?:([0-9]{1,2})m(?!s))?(?:([0-9]{1,2})s)?(?:([0-9]{1,3}(?:\.[0-9]*)?)ms)?") -VARIABLE_NAME_SUFFIX_MODEL = re.compile('(\d+)$') +duration_model = re.compile(r"(?:([0-9]{1,2})h)?(?:([0-9]{1,2})m(?!s))?(?:([0-9]{1,2})s)?(?:([0-9]{1,3}(?:\.[0-9]*)?)ms)?") +VARIABLE_NAME_SUFFIX_MODEL = re.compile(r'(\d+)$') ScriptDirectory = paths.AbsDir(__file__)