mirror of
https://github.com/python/cpython.git
synced 2026-05-13 07:59:04 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user