summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-22 03:03:44 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-22 03:03:44 (GMT)
commitd7dc2eb708d20523359c6b26335d44824fc21b52 (patch)
tree0da2d0dc259e8104edf71833f3519f45c740d72e
parent1f84449fd80ded6abf23d47147219e68dd65fc2f (diff)
downloadcpython-d7dc2eb708d20523359c6b26335d44824fc21b52.zip
cpython-d7dc2eb708d20523359c6b26335d44824fc21b52.tar.gz
cpython-d7dc2eb708d20523359c6b26335d44824fc21b52.tar.bz2
Put {} around \^ in sets to force latex2html to do the right thing...
-rw-r--r--Doc/lib/libre.tex6
-rw-r--r--Doc/libre.tex6
2 files changed, 6 insertions, 6 deletions
diff --git a/Doc/lib/libre.tex b/Doc/lib/libre.tex
index a2bc1fd..bf6aeb8 100644
--- a/Doc/lib/libre.tex
+++ b/Doc/lib/libre.tex
@@ -215,19 +215,19 @@ beginning or end of a word.
equivalent to the set \code{[0-9]}.
%
\item[\code{\e D}]Matches any non-digit character; this is
-equivalent to the set \code{[\^0-9]}.
+equivalent to the set \code{[{\^}0-9]}.
%
\item[\code{\e s}]Matches any whitespace character; this is
equivalent to the set \code{[ \e t\e n\e r\e f\e v]}.
%
\item[\code{\e S}]Matches any non-whitespace character; this is
-equivalent to the set \code{[\^ \e t\e n\e r\e f\e v]}.
+equivalent to the set \code{[{\^} \e t\e n\e r\e f\e v]}.
%
\item[\code{\e w}]Matches any alphanumeric character; this is
equivalent to the set \code{[a-zA-Z0-9_]}.
%
\item[\code{\e W}] Matches any non-alphanumeric character; this is
-equivalent to the set \code{[\^ a-zA-Z0-9_]}.
+equivalent to the set \code{[{\^}a-zA-Z0-9_]}.
\item[\code{\e Z}]Matches only at the end of the string.
%
diff --git a/Doc/libre.tex b/Doc/libre.tex
index a2bc1fd..bf6aeb8 100644
--- a/Doc/libre.tex
+++ b/Doc/libre.tex
@@ -215,19 +215,19 @@ beginning or end of a word.
equivalent to the set \code{[0-9]}.
%
\item[\code{\e D}]Matches any non-digit character; this is
-equivalent to the set \code{[\^0-9]}.
+equivalent to the set \code{[{\^}0-9]}.
%
\item[\code{\e s}]Matches any whitespace character; this is
equivalent to the set \code{[ \e t\e n\e r\e f\e v]}.
%
\item[\code{\e S}]Matches any non-whitespace character; this is
-equivalent to the set \code{[\^ \e t\e n\e r\e f\e v]}.
+equivalent to the set \code{[{\^} \e t\e n\e r\e f\e v]}.
%
\item[\code{\e w}]Matches any alphanumeric character; this is
equivalent to the set \code{[a-zA-Z0-9_]}.
%
\item[\code{\e W}] Matches any non-alphanumeric character; this is
-equivalent to the set \code{[\^ a-zA-Z0-9_]}.
+equivalent to the set \code{[{\^}a-zA-Z0-9_]}.
\item[\code{\e Z}]Matches only at the end of the string.
%