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

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

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

Positions are byte indices in terms of the original string matched.

't is the lifetime of the matched text.

Trait Implementations

impl<'t> Iterator<Option<(uint, uint)>> for SubCapturesPos<'t>

fn next(&mut self) -> Option<Option<(uint, uint)>>

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