(self, cre, s)
| 1198 | |
| 1199 | |
| 1200 | def _match(self, cre, s): |
| 1201 | |
| 1202 | # Run compiled regular expression match method on 's'. |
| 1203 | # Save result, return success. |
| 1204 | |
| 1205 | self.mo = cre.match(s) |
| 1206 | if __debug__: |
| 1207 | if self.mo is not None and self.debug >= 5: |
| 1208 | self._mesg("\tmatched %r => %r" % (cre.pattern, self.mo.groups())) |
| 1209 | return self.mo is not None |
| 1210 | |
| 1211 | |
| 1212 | def _new_tag(self): |
no test coverage detected