Function twoway::rfind_bytes
[−]
[src]
pub fn rfind_bytes(text: &[u8], pattern: &[u8]) -> Option<usize>
rfind_bytes
finds the last ocurrence of pattern
in the text
,
and returns the index of the start of the match.
As of this writing, this function uses the two way algorithm in pure rust (with no SSE4.2 support).