MCPcopy Create free account
hub / github.com/apache/httpd / _lookup_matches

Method _lookup_matches

test/pyhttpd/log.py:52–56  ·  view source on GitHub ↗
(self, line: str, matches: List[str])

Source from the content-addressed store, hash-verified

50 self._caught_matches = set()
51
52 def _lookup_matches(self, line: str, matches: List[str]) -> bool:
53 for m in matches:
54 if re.match(m, line):
55 return True
56 return False
57
58 def _lookup_lognos(self, line: str, lognos: set) -> bool:
59 if len(lognos) > 0:

Callers 2

_is_ignoredMethod · 0.95
ignore_recentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected