Put {} around \^ in sets to force latex2html to do the right thing...

This commit is contained in:
Guido van Rossum 1997-10-22 03:03:44 +00:00
parent 1f84449fd8
commit d7dc2eb708
2 changed files with 6 additions and 6 deletions

View File

@ -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.
%

View File

@ -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.
%