pub fn route_pattern_matches(pattern: &str, request_path: &str) -> bool
Performs route pattern matches.