pub fn match_pattern(pattern: &str, path: &str) -> Option<String>
Match path against pattern (supports wildcard *) Returns Some(remaining_path) if match, None otherwise