mirror of https://github.com/python/cpython
Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
Closes issue 9358. Thanks to Brian Brazil for the patch.
This commit is contained in:
parent
671153db25
commit
030244aaf9
|
@ -70,6 +70,8 @@ patterns.
|
|||
|
||||
Return the shell-style *pattern* converted to a regular expression.
|
||||
|
||||
Be aware there is no way to quote meta-characters.
|
||||
|
||||
Example:
|
||||
|
||||
>>> import fnmatch, re
|
||||
|
|
Loading…
Reference in New Issue