pub(crate) fn origin_scheme_part_match(a: &Origin, b: &str) -> MatchResult