pub fn inspect(data: &mut [u8], unit: usize, phrases: &[Phrase]) -> Vec<i64>Expand description
Scans data left to right; at each position the first phrase that applies and matches takes
the characters it matches. Returns how many times each phrase matched, replacing as it goes
when phrases carry a BY value. A character position is unit bytes.