Module needle::boyer_moore
[−]
[src]
Implementation of the Boyer-Moore search algorithm, currently confined to u8
arrays for input.
Examples
use needle::BoyerMoore; let needle = BoyerMoore::new(&b"example"[..]); let haystack = b"This is an example of searching for a word"; assert_eq!(Some(11), needle.find_in(haystack).next());
Structs
BoyerMoore | |
BoyerMooreIter |