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

pub struct SubCaptures<'t> {
    // some fields omitted
}

An iterator over capture groups for a particular match of a regular expression.

't is the lifetime of the matched text.

Trait Implementations

impl<'t> Iterator for SubCaptures<'t>

type Item = Option<&'t str>

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

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