diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex index 6843594c66b..f3a3fa9254e 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 03e5c3f1c32..48cff87d2f8 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)} diff --git a/Doc/libregex.tex b/Doc/libregex.tex index 6843594c66b..f3a3fa9254e 100644 --- a/Doc/libregex.tex +++ b/Doc/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/libregsub.tex b/Doc/libregsub.tex index 03e5c3f1c32..48cff87d2f8 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)}