summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-02 02:50:13 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-02 02:50:13 (GMT)
commit875c807c9243aed464e4150f7eac0ea0ffd4bec2 (patch)
tree6a2c9df5b84a5d3decd62f11b083bac2f788b7b4
parent9d98c91b997866580ce4c8b2d25cfb47edd51c10 (diff)
downloadcpython-875c807c9243aed464e4150f7eac0ea0ffd4bec2.zip
cpython-875c807c9243aed464e4150f7eac0ea0ffd4bec2.tar.gz
cpython-875c807c9243aed464e4150f7eac0ea0ffd4bec2.tar.bz2
In description of the group() method, fix markup of "\(" and "\)" literals;
"\code{\\(}" produces "(" in the .dvi file and "<BR> (" in the latex2html output (the font was right). Changed to "\code{{\e}(}" variation, which fixes both. Breaks the .texi file generation again. Oh well.
-rw-r--r--Doc/lib/libregex.tex2
-rw-r--r--Doc/libregex.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex
index 2f8fbd8..dd82ff4 100644
--- a/Doc/lib/libregex.tex
+++ b/Doc/lib/libregex.tex
@@ -305,7 +305,7 @@ result is a tuple with one item per argument. If the \var{index} is
zero, the corresponding return value is the entire matching string; if
it is in the inclusive range [1..99], it is the string matching the
the corresponding parenthesized group (using the default syntax,
-groups are parenthesized using \code{\\(} and \code{\\)}). If no
+groups are parenthesized using \code{{\e}(} and \code{{\e})}). If no
such group exists, the corresponding result is \code{None}.
If the regular expression was compiled by \code{symcomp} instead of
diff --git a/Doc/libregex.tex b/Doc/libregex.tex
index 2f8fbd8..dd82ff4 100644
--- a/Doc/libregex.tex
+++ b/Doc/libregex.tex
@@ -305,7 +305,7 @@ result is a tuple with one item per argument. If the \var{index} is
zero, the corresponding return value is the entire matching string; if
it is in the inclusive range [1..99], it is the string matching the
the corresponding parenthesized group (using the default syntax,
-groups are parenthesized using \code{\\(} and \code{\\)}). If no
+groups are parenthesized using \code{{\e}(} and \code{{\e})}). If no
such group exists, the corresponding result is \code{None}.
If the regular expression was compiled by \code{symcomp} instead of