summaryrefslogtreecommitdiff
path: root/Doc/libregsub.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/libregsub.tex')
-rw-r--r--Doc/libregsub.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/libregsub.tex b/Doc/libregsub.tex
index 03e5c3f1c3..48cff87d2f 100644
--- a/Doc/libregsub.tex
+++ b/Doc/libregsub.tex
@@ -10,13 +10,13 @@ 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 \code{re} module, which
+need of regular expressions should use the new \module{re} module, which
supports the more powerful and regular Perl-style regular expressions.
Existing code should be converted. The standard library module
-\code{reconvert} helps in converting \code{regex} style regular
-expressions to \code{re} style regular expressions. (For more
+\module{reconvert} helps in converting \code{regex} style regular
+expressions to \module{re} style regular expressions. (For more
conversion help, see the URL
-\file{http://starship.skyport.net/crew/amk/regex/regex-to-re.html}.)
+\url{http://starship.skyport.net/crew/amk/regex/regex-to-re.html}.)
\renewcommand{\indexsubitem}{(in module regsub)}