Returns the number of captures.
(&self)
| 667 | |
| 668 | /// Returns the number of captures. |
| 669 | pub fn captures_len(&self) -> usize { |
| 670 | self.0.capture_names().len() |
| 671 | } |
| 672 | |
| 673 | /// Returns an empty set of capture locations that can be reused in |
| 674 | /// multiple calls to `captures_read` or `captures_read_at`. |
nothing calls this directly
no test coverage detected