Performs pattern matching on a URL pathname and returns information about the match.
://reactrouter.com/v6/utils/match-path