summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libregex.tex2
-rw-r--r--Doc/lib/libregsub.tex8
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex
index 6843594..f3a3fa9 100644
--- a/Doc/lib/libregex.tex
+++ b/Doc/lib/libregex.tex
@@ -15,7 +15,7 @@ converted. The standard library module
\code{reconvert}\refstmodindex{reconvert} helps in converting
\code{regex} style regular expressions to \code{re}\refstmodindex{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}.)
By default the patterns are Emacs-style regular expressions
(with one exception). There is
diff --git a/Doc/lib/libregsub.tex b/Doc/lib/libregsub.tex
index 03e5c3f..48cff87 100644
--- a/Doc/lib/libregsub.tex
+++ b/Doc/lib/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)}