pub fn boyer_moore_search( text: &str, pattern: &str, ) -> Result<Vec<usize>, Error>
Boyer-Moore pattern matching with the bad-character rule.