[docs] [issue16240] Document a way to escape metacharacters in glob/fnmatch

Ezio Melotti report at bugs.python.org
Thu Oct 25 19:55:24 CEST 2012


Ezio Melotti added the comment:

For a literal match, wrap the meta-characters in brackets.  For example, ``'[?]'`` matches the character ``'?'``.

Stating the goal at the beginning of the sentence will make this easier to find while skimming through the doc.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16240>
_______________________________________


More information about the docs mailing list