Kaydet (Commit) 030244aa authored tarafından Brett Cannon's avatar Brett Cannon

Mention in the fnmatch docs that meta-characters in translate cannot be quoted.

Closes issue 9358. Thanks to Brian Brazil for the patch.
üst 671153db
...@@ -70,6 +70,8 @@ patterns. ...@@ -70,6 +70,8 @@ patterns.
Return the shell-style *pattern* converted to a regular expression. Return the shell-style *pattern* converted to a regular expression.
Be aware there is no way to quote meta-characters.
Example: Example:
>>> import fnmatch, re >>> import fnmatch, re
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment