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)
| 918 | /// |
| 919 | /// The first match always corresponds to the overall match of the regex. |
| 920 | pub fn iter<'c>(&'c self) -> SubCaptureMatches<'c, 't> { |
| 921 | SubCaptureMatches { |
| 922 | caps: self, |
| 923 | it: self.locs.iter(), |
| 924 | } |
| 925 | } |
| 926 | |
| 927 | /// Expands all instances of `$name` in `replacement` to the corresponding |
| 928 | /// capture group `name`, and writes them to the `dst` buffer given. |
no outgoing calls
no test coverage detected