diff options
Diffstat (limited to 'Doc/library/fnmatch.rst')
-rw-r--r-- | Doc/library/fnmatch.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/library/fnmatch.rst b/Doc/library/fnmatch.rst index 7fa6148..4ba6b77 100644 --- a/Doc/library/fnmatch.rst +++ b/Doc/library/fnmatch.rst @@ -9,6 +9,10 @@ .. index:: module: re +**Source code:** :source:`Lib/fnmatch.py` + +-------------- + This module provides support for Unix shell-style wildcards, which are *not* the same as regular expressions (which are documented in the :mod:`re` module). The special characters used in shell-style wildcards are: @@ -70,6 +74,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 @@ -86,4 +92,3 @@ patterns. Module :mod:`glob` Unix shell-style path expansion. - |