Josh Rosenberg <shadowranger+pyt...@gmail.com> added the comment:
Finished typing this while Serhiy was closing, but just for further explanation: This isn't a bug. fnmatch provides "shell-style" wildcards, but that doesn't mean it supports every shell's extensions to the globbing syntax. It doesn't even claim support for full POSIX globbing syntax. The docs explicitly specify support for only four forms: * ? [seq] [!seq] There is no support for [^seq]; [^seq] isn't even part of POSIX globbing per glob(7): "POSIX has declared the effect of a wildcard pattern "[^...]" to be undefined." ---------- nosy: +josh.r _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35314> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com