(self)
| 186 | |
| 187 | @property |
| 188 | def captures(self): |
| 189 | if isinstance(self._captures, Integral): |
| 190 | all_captures = list(self.re._rure.captures_iter(self.string, |
| 191 | self.pos)) |
| 192 | self._captures = all_captures[self._captures] |
| 193 | return self._captures |
| 194 | |
| 195 | def expand(self, template): |
| 196 | # Not supported by the C library yet |
no test coverage detected