Struct regex::FindCaptures [-]  [+] [src]

pub struct FindCaptures<'r, 't> {
    // some fields omitted
}

An iterator that yields all non-overlapping capture groups matching a particular regular expression.

The iterator stops when no more matches can be found.

'r is the lifetime of the compiled expression and 't is the lifetime of the matched string.

Trait Implementations

impl<'r, 't> Iterator for FindCaptures<'r, 't>

type Item = Captures<'t>

fn next(&mut self) -> Option<Captures<'t>>

fn size_hint(&self) -> (usize, Option<usize>)