Function regex::utf8::next_utf8[][src]

pub fn next_utf8(text: &[u8], i: usize) -> usize

Returns the smallest possible index of the next valid UTF-8 sequence starting after i.