]> granicus.if.org Git - python/commitdiff
In description of the group() method, fix markup of "\(" and "\)" literals;
authorFred Drake <fdrake@acm.org>
Fri, 2 Jan 1998 02:50:13 +0000 (02:50 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 2 Jan 1998 02:50:13 +0000 (02:50 +0000)
"\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.

Doc/lib/libregex.tex
Doc/libregex.tex

index 2f8fbd85c64ef8e982f57e4ae3dd914acc0364e6..dd82ff425b4ecd1a3f8df67e12750441fb9acbc4 100644 (file)
@@ -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
index 2f8fbd85c64ef8e982f57e4ae3dd914acc0364e6..dd82ff425b4ecd1a3f8df67e12750441fb9acbc4 100644 (file)
@@ -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