AMK's megapatch:

* \bcode, \ecode added everywhere
	* \label{module-foo} added everywhere
	* A few \seealso sections added.
	* Indentation fixed inside verbatim in lib*tex files
This commit is contained in:
Guido van Rossum 1997-07-17 16:34:52 +00:00
parent 3c2a056fdd
commit e47da0ae04
196 changed files with 1068 additions and 859 deletions

View file

@ -1,4 +1,5 @@
\section{Built-in Module \sectcode{regex}}
\label{module-regex}
\bimodindex{regex}
This module provides regular expression matching operations similar to
@ -204,13 +205,13 @@ The module defines these functions, and an exception:
prog = regex.compile(pat)
result = prog.match(str)
\end{verbatim}\ecode
%
is equivalent to
\bcode\begin{verbatim}
result = regex.match(pat, str)
\end{verbatim}\ecode
%
but the version using \code{compile()} is more efficient when multiple
regular expressions are used concurrently in a single program. (The
compiled version of the last pattern passed to \code{regex.match()} or