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