pub fn matches_start<T: Debug + Clone + PartialEq>( items: &[Item<T>], pat: &[Item<T>], ) -> Option<Match<T>>
Find a match align with the start of items. Similar to Python re.match.
re.match