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

Fred L. Drake, Jr. report at bugs.python.org
Thu Oct 25 19:40:13 CEST 2012

Fred L. Drake, Jr. added the comment:

Better (IMO):

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

nosy: +fdrake

Python tracker <report at bugs.python.org>

More information about the docs mailing list