Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libregsub.tex @ 10703:e4e800a78d8d legacy-trunk
Make internal module references hyperlinks wherever it makes sense.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 22 Apr 1999 21:23:22 +0000 |
| parents | acfffe14628e |
| children | 45ec5df9a62d |
line wrap: on
line diff
--- a/Doc/lib/libregsub.tex Thu Apr 22 21:19:53 1999 +0000 +++ b/Doc/lib/libregsub.tex Thu Apr 22 21:23:22 1999 +0000 @@ -1,23 +1,24 @@ \section{\module{regsub} --- - Substitution and splitting operations that use regular expressions.} + String operations using regular expressions} + \declaremodule{standard}{regsub} - -\modulesynopsis{Substitution and splitting operations that use regular expressions.} +\modulesynopsis{Substitution and splitting operations that use + regular expressions.} This module defines a number of functions useful for working with -regular expressions (see built-in module \code{regex}). +regular expressions (see built-in module \refmodule{regex}). Warning: these functions are not thread-safe. \strong{Obsolescence note:} This module is obsolete as of Python version 1.5; it is still being maintained because much existing code still uses it. All new code in -need of regular expressions should use the new \module{re} module, which +need of regular expressions should use the new \refmodule{re} module, which supports the more powerful and regular Perl-style regular expressions. Existing code should be converted. The standard library module -\module{reconvert} helps in converting \code{regex} style regular -expressions to \module{re} style regular expressions. (For more +\module{reconvert} helps in converting \refmodule{regex} style regular +expressions to \refmodule{re} style regular expressions. (For more conversion help, see Andrew Kuchling's\index{Kuchling, Andrew} ``regex-to-re HOWTO'' at \url{http://www.python.org/doc/howto/regex-to-re/}.)
