Lines Matching refs:re
5 import re
76 return (re.search(self.HELLO_RE, response) is not None)
85 return (re.search(self.TOGGLE_AUTO_FAN_RE, response) is not None)
95 match = re.search(self.GET_FANSPEED_RE, response)
112 return (re.search(self.SET_FANSPEED_RE, response) is not None)
124 match = re.search(self.TEMP_SENSOR_RE, response)
136 return (re.search(self.BATTERY_RE, response) is not None)
148 return (re.search(self.LIGHTBAR_RE, response, re.MULTILINE) is not None)
169 _invalidate_port_data: Remove port data to force re-eval.
182 # Interrogate port at instantiation. Use invalidate to force re-eval.
187 """Remove port data to force re-eval."""
216 match = re.search(PORT_INFO_RE,
254 match = re.search(SVID_RE, line)
368 mat1 = re.match(mat1_re, ln)
375 mat2 = re.match(mat2_re, ln)