An iterator over all non-overlapping matches for a particular string. The iterator yields a tuple of integers corresponding to the start and end of the match. The indices are byte offsets. The iterator stops when no more matches can be found. `'r` is the lifetime of the compiled regular expression and `'t` is the lifetime of the matched byte string.
| 695 | /// `'r` is the lifetime of the compiled regular expression and `'t` is the |
| 696 | /// lifetime of the matched byte string. |
| 697 | pub struct Matches<'r, 't>(re_trait::Matches<'t, ExecNoSync<'r>>); |
| 698 | |
| 699 | impl<'r, 't> Iterator for Matches<'r, 't> { |
| 700 | type Item = Match<'t>; |