Returns the start and end byte range of the leftmost-first match in `text`. If no match exists, then `None` is returned. Note that this should only be used if you want to discover the position of the match. Testing the existence of a match is faster if you use `is_match`. # Example Find the start and end location of the first word with exactly 13 Unicode word characters: ```rust # extern crate
(&self, text: &'t str)
| 220 | /// # } |
| 221 | /// ``` |
| 222 | pub fn find<'t>(&self, text: &'t str) -> Option<Match<'t>> { |
| 223 | self.find_at(text, 0) |
| 224 | } |
| 225 | |
| 226 | /// Returns an iterator for each successive non-overlapping match in |
| 227 | /// `text`, returning the start and end byte indices with respect to |