pub fn boyer_moore_search(
text: &str,
pattern: &str,
) -> Result<Vec<usize>, Error>Expand description
Boyer-Moore pattern matching with the bad-character and good-suffix rules.
Returns all starting byte offsets of pattern in text, including
overlapping occurrences. Returns Err(Error::InvalidInput) when pattern
is empty.