An iterator that yields all capturing matches in the order in which they appear in the regex. If a particular capture group didn't participate in the match, then `None` is yielded for that capture. The first match always corresponds to the overall match of the regex.
(&'c self)
| 937 | /// |
| 938 | /// The first match always corresponds to the overall match of the regex. |
| 939 | pub fn iter<'c>(&'c self) -> SubCaptureMatches<'c, 't> { |
| 940 | SubCaptureMatches { |
| 941 | caps: self, |
| 942 | it: self.locs.iter(), |
| 943 | } |
| 944 | } |
| 945 | |
| 946 | /// Expands all instances of `$name` in `replacement` to the corresponding |
| 947 | /// capture group `name`, and writes them to the `dst` buffer given. |
no outgoing calls
no test coverage detected