Description of issue or feature request:
According to the recently updated version of the specification the shell style wildcard matching is glob-like, and therefore a path separator in a path should not be matched by a wildcard in the PATHPATTERN.
Current behavior:
A path separator in a path is matched by a wildcard in the PATHPATTERN (fnmatch.fnmatch)
Expected behavior:
A path separator in a path should not be matched by a wildcard in the PATHPATTERN.