summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libfnmatch.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-16 21:37:58 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-16 21:37:58 (GMT)
commit009ab92c12cadb202996c54d73d0eb661a62f734 (patch)
tree4e7e9fbac15d2736a65987a03f23ae24950b2947 /Doc/lib/libfnmatch.tex
parent75fc045bf5a1e45f4c76e587dbe5384a1e4021ba (diff)
downloadcpython-009ab92c12cadb202996c54d73d0eb661a62f734.zip
cpython-009ab92c12cadb202996c54d73d0eb661a62f734.tar.gz
cpython-009ab92c12cadb202996c54d73d0eb661a62f734.tar.bz2
Made the area for wildcards in the description wider, so we don't invade the
left margin.
Diffstat (limited to 'Doc/lib/libfnmatch.tex')
-rw-r--r--Doc/lib/libfnmatch.tex13
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/lib/libfnmatch.tex b/Doc/lib/libfnmatch.tex
index 7aa1295..e5e2871 100644
--- a/Doc/lib/libfnmatch.tex
+++ b/Doc/lib/libfnmatch.tex
@@ -4,18 +4,19 @@
This module provides support for \UNIX{} shell-style wildcards, which
are \emph{not} the same as regular expressions (which are documented
-in the \code{re}\refstmodindex{re} module). The special characters
+in the \module{re}\refstmodindex{re} module). The special characters
used in shell-style wildcards are:
-\begin{itemize}
+
+\begin{list}{}{\leftmargin 0.5in \labelwidth 0.45in}
\item[\code{*}] matches everything
\item[\code{?}] matches any single character
\item[\code{[}\var{seq}\code{]}] matches any character in \var{seq}
\item[\code{[!}\var{seq}\code{]}] matches any character not in \var{seq}
-\end{itemize}
+\end{list}
Note that the filename separator (\code{'/'} on \UNIX{}) is \emph{not}
special to this module. See module \code{glob}\refstmodindex{glob}
-for pathname expansion (\code{glob} uses \code{fnmatch()} to
+for pathname expansion (\module{glob} uses \function{fnmatch()} to
match filename segments).
\setindexsubitem{(in module fnmatch)}
@@ -26,7 +27,8 @@ string, returning true or false. If the operating system is
case-insensitive, then both parameters will be normalized to all
lower- or upper-case before the comparision is performed. If you
require a case-sensitive comparision regardless of whether that's
-standard for your operating system, use \code{fnmatchcase()} instead.
+standard for your operating system, use \function{fnmatchcase()}
+instead.
\end{funcdesc}
\begin{funcdesc}{fnmatchcase}{filename, pattern}
@@ -35,6 +37,5 @@ false; the comparision is case-sensitive.
\end{funcdesc}
\begin{seealso}
-
\seemodule{glob}{Shell-style path expansion}
\end{seealso}