Lines Matching refs:match
19 match = re.search(regex, line)
20 if match != None:
21 m[key] = int(match.group(1), base)
27 match = re.search(regex, line)
28 if match != None:
29 m[key] = float(match.group(1))
62 match = re.search("Timing Name\s+=\s+([^;]+)", line) variable
63 if match != None:
64 m["name"] = str.strip(match.group(1))
79 match = re.search("Scan Type\s+=\s+(\w+);", line) variable
80 if match != None:
81 if match.group(1) == "NONINTERLACED":
83 elif match.group(1) == "INTERLACED":
89 match = re.search("Hor Sync Polarity\s+=\s+(\w+)", line) variable
90 if match != None:
91 if match.group(1) == "POSITIVE":
93 elif match.group(1) == "NEGATIVE":
99 match = re.search("Ver Sync Polarity\s+=\s+(\w+)", line) variable
100 if match != None:
101 if match.group(1) == "POSITIVE":
103 elif match.group(1) == "NEGATIVE":