(self)
| 163 | |
| 164 | @property |
| 165 | def lastindex(self): |
| 166 | groups = [ |
| 167 | gindex |
| 168 | for gindex, gname in enumerate(self.re.capture_names()) |
| 169 | if self.captures[gindex] is not None |
| 170 | ] |
| 171 | if groups: |
| 172 | return groups[-1] |
| 173 | |
| 174 | @property |
| 175 | def lastgroup(self, decode=True): |
nothing calls this directly
no test coverage detected