Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7dc2eb

Browse files
committed
Put {} around \^ in sets to force latex2html to do the right thing...
1 parent 1f84449 commit d7dc2eb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/lib/libre.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,19 +215,19 @@ \subsection{Regular Expressions}
215215
equivalent to the set \code{[0-9]}.
216216
%
217217
\item[\code{\e D}]Matches any non-digit character; this is
218-
equivalent to the set \code{[\^0-9]}.
218+
equivalent to the set \code{[{\^}0-9]}.
219219
%
220220
\item[\code{\e s}]Matches any whitespace character; this is
221221
equivalent to the set \code{[ \e t\e n\e r\e f\e v]}.
222222
%
223223
\item[\code{\e S}]Matches any non-whitespace character; this is
224-
equivalent to the set \code{[\^ \e t\e n\e r\e f\e v]}.
224+
equivalent to the set \code{[{\^} \e t\e n\e r\e f\e v]}.
225225
%
226226
\item[\code{\e w}]Matches any alphanumeric character; this is
227227
equivalent to the set \code{[a-zA-Z0-9_]}.
228228
%
229229
\item[\code{\e W}] Matches any non-alphanumeric character; this is
230-
equivalent to the set \code{[\^ a-zA-Z0-9_]}.
230+
equivalent to the set \code{[{\^}a-zA-Z0-9_]}.
231231

232232
\item[\code{\e Z}]Matches only at the end of the string.
233233
%

Doc/libre.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,19 +215,19 @@ \subsection{Regular Expressions}
215215
equivalent to the set \code{[0-9]}.
216216
%
217217
\item[\code{\e D}]Matches any non-digit character; this is
218-
equivalent to the set \code{[\^0-9]}.
218+
equivalent to the set \code{[{\^}0-9]}.
219219
%
220220
\item[\code{\e s}]Matches any whitespace character; this is
221221
equivalent to the set \code{[ \e t\e n\e r\e f\e v]}.
222222
%
223223
\item[\code{\e S}]Matches any non-whitespace character; this is
224-
equivalent to the set \code{[\^ \e t\e n\e r\e f\e v]}.
224+
equivalent to the set \code{[{\^} \e t\e n\e r\e f\e v]}.
225225
%
226226
\item[\code{\e w}]Matches any alphanumeric character; this is
227227
equivalent to the set \code{[a-zA-Z0-9_]}.
228228
%
229229
\item[\code{\e W}] Matches any non-alphanumeric character; this is
230-
equivalent to the set \code{[\^ a-zA-Z0-9_]}.
230+
equivalent to the set \code{[{\^}a-zA-Z0-9_]}.
231231

232232
\item[\code{\e Z}]Matches only at the end of the string.
233233
%

0 commit comments

Comments
 (0)