pub fn pattern_matches(bytes: &[u8], pattern: &Pattern) -> bool
Determine whether a byte slice matches a pattern.