Updated path matcher for wildcards