Returns an iterator for each successive non-overlapping match in `text`, returning the start and end byte indices with respect to `text`. # Example Find the start and end location of every word with exactly 13 Unicode word characters: ```rust # extern crate regex; use regex::Regex; # fn main() { let text = "Retroactively relinquishing remunerations is reprehensible."; for mat in Regex::new(r"\b
(&'r self, text: &'t str)
| 242 | /// # } |
| 243 | /// ``` |
| 244 | pub fn find_iter<'r, 't>(&'r self, text: &'t str) -> Matches<'r, 't> { |
| 245 | Matches(self.0.searcher_str().find_iter(text)) |
| 246 | } |
| 247 | |
| 248 | /// Returns the capture groups corresponding to the leftmost-first |
| 249 | /// match in `text`. Capture group `0` always corresponds to the entire |
no test coverage detected