MCPcopy Index your code
hub / github.com/RustPython/RustPython / _match

Method _match

Lib/imaplib.py:1342–1351  ·  view source on GitHub ↗
(self, cre, s)

Source from the content-addressed store, hash-verified

1340
1341
1342 def _match(self, cre, s):
1343
1344 # Run compiled regular expression match method on 's'.
1345 # Save result, return success.
1346
1347 self.mo = cre.match(s)
1348 if __debug__:
1349 if self.mo is not None and self.debug >= 5:
1350 self._mesg("\tmatched %r => %r" % (cre.pattern, self.mo.groups()))
1351 return self.mo is not None
1352
1353
1354 def _new_tag(self):

Callers 1

_get_responseMethod · 0.95

Calls 3

_mesgMethod · 0.95
matchMethod · 0.45
groupsMethod · 0.45

Tested by

no test coverage detected