diff -r 0f2e5303f212 -r f0a040f1de1b ProjectController.py --- a/ProjectController.py Tue Oct 09 11:43:39 2018 +0300 +++ b/ProjectController.py Tue Oct 09 11:56:45 2018 +0300 @@ -68,7 +68,7 @@ base_folder = paths.AbsParentDir(__file__) MATIEC_ERROR_MODEL = re.compile( - ".*\.st:(\d+)-(\d+)\.\.(\d+)-(\d+): (?:error)|(?:warning) : (.*)$") + r".*\.st:(\d+)-(\d+)\.\.(\d+)-(\d+): (?:error)|(?:warning) : (.*)$") def ExtractChildrenTypesFromCatalog(catalog): @@ -713,7 +713,7 @@ lines = [line.strip() for line in location_file.readlines()] # This regular expression parses the lines genereated by IEC2C LOCATED_MODEL = re.compile( - "__LOCATED_VAR\((?P[A-Z]*),(?P[_A-Za-z0-9]*),(?P[QMI])(?:,(?P[XBWDL]))?,(?P[,0-9]*)\)") + r"__LOCATED_VAR\((?P[A-Z]*),(?P[_A-Za-z0-9]*),(?P[QMI])(?:,(?P[XBWDL]))?,(?P[,0-9]*)\)") for line in lines: # If line match RE, result = LOCATED_MODEL.match(line)