fn covers_whole_segments(segments: &[&str], pat: &str) -> boolExpand description
Whether pat occupies a whole run of segments.
pat is split the same way, so a two-word pattern like fetch_webpage has
to match two consecutive segments rather than appearing inside one.