Also treat the trailing '/' matches as wildcard matches.