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

Skip to content

Commit 75bfb0f

Browse files
committed
{fulllineitems} is now an environment; use it as such.
1 parent 802a202 commit 75bfb0f

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

Doc/lib/libregex.tex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,20 @@ \subsection{Regular Expressions}
136136
\item[\code{\e( \e)}] Indicates the start and end of a group; the
137137
contents of a group can be matched later in the string with the
138138
\code{\e [1-9]} special sequence, described next.
139-
%
140-
\fulllineitems\item[\code{\e \e 1, ... \e \e 7, \e 8, \e 9}]
139+
\end{itemize}
140+
141+
\begin{fulllineitems}
142+
\item[\code{\e \e 1, ... \e \e 7, \e 8, \e 9}]
141143
Matches the contents of the group of the same
142144
number. For example, \code{\e (.+\e ) \e \e 1} matches 'the the' or
143145
'55 55', but not 'the end' (note the space after the group). This
144146
special sequence can only be used to match one of the first 9 groups;
145147
groups with higher numbers can be matched using the \code{\e v}
146148
sequence. (\code{\e 8} and \code{\e 9} don't need a double backslash
147149
because they are not octal digits.)
148-
%
150+
\end{fulllineitems}
151+
152+
\begin{itemize}
149153
\item[\code{\e \e b}] Matches the empty string, but only at the
150154
beginning or end of a word. A word is defined as a sequence of
151155
alphanumeric characters, so the end of a word is indicated by

Doc/libregex.tex

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,20 @@ \subsection{Regular Expressions}
136136
\item[\code{\e( \e)}] Indicates the start and end of a group; the
137137
contents of a group can be matched later in the string with the
138138
\code{\e [1-9]} special sequence, described next.
139-
%
140-
\fulllineitems\item[\code{\e \e 1, ... \e \e 7, \e 8, \e 9}]
139+
\end{itemize}
140+
141+
\begin{fulllineitems}
142+
\item[\code{\e \e 1, ... \e \e 7, \e 8, \e 9}]
141143
Matches the contents of the group of the same
142144
number. For example, \code{\e (.+\e ) \e \e 1} matches 'the the' or
143145
'55 55', but not 'the end' (note the space after the group). This
144146
special sequence can only be used to match one of the first 9 groups;
145147
groups with higher numbers can be matched using the \code{\e v}
146148
sequence. (\code{\e 8} and \code{\e 9} don't need a double backslash
147149
because they are not octal digits.)
148-
%
150+
\end{fulllineitems}
151+
152+
\begin{itemize}
149153
\item[\code{\e \e b}] Matches the empty string, but only at the
150154
beginning or end of a word. A word is defined as a sequence of
151155
alphanumeric characters, so the end of a word is indicated by

0 commit comments

Comments
 (0)