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

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

Yields all substrings delimited by a regular expression match.

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

Trait Implementations

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

type Item = &'t str

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

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