More flexible matching of URL schemes and extensions.