[docs] [issue8402] Add a function to escape metacharacters in glob/fnmatch

Ezio Melotti report at bugs.python.org
Sat Nov 17 17:15:05 CET 2012

Ezio Melotti added the comment:

The workaround is now documented.
I'm still not sure if this should still be added, or if it should be closed as rejected now that the workaround is documented.
A third option would be adding it as a recipe in the doc, given that the whole functions boils down to a single re.sub (the user can take care of picking the bytes/str regex depending on his input).


Python tracker <report at bugs.python.org>

More information about the docs mailing list