matchURL

matchURL parses a URL into its individual components.