Searched refs:_regexp (Results 1 – 4 of 4) sorted by relevance
30 self._regexp = re.compile("^" + pattern + "$")34 return bool(self._regexp.match(string)) == self._positive_match
382 self._regexp = regexp452 ln = len(self._regexp)455 c = self._regexp[i]504 c = self._regexp[i]531 return "<%s [%r]>" % (self.__class__.__name__, self._regexp)
2250 self._regexp = None2581 if self._regexp is None:2582 self._regexp = re.compile(b'^(?::([a-z\-0-9]+)|([a-z\-0-9]+):)\s+(.+)$')2585 grp = self._regexp.match(hdr_line)
2131 _regexp = None variable in UnixMailbox2134 if not self._regexp:2136 self._regexp = re.compile(self._fromlinepattern)2137 return self._regexp.match(line)