isJust (match p x) == (p ?== x) match "**/*.c" "test.txt" == Nothing match "**/*.c" "foo.c" == Just ["","foo"] match "**/*.c" "bar/baz/foo.c" == Just ["bar/baz/","foo"]On Windows any \ path separators will be replaced by /.
matchMany [(a, pat)] [(b, path)] == maybeToList (map (a,b,) (match pat path))