summaryrefslogtreecommitdiff
path: root/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html')
-rw-r--r--Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html260
1 files changed, 130 insertions, 130 deletions
diff --git a/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html b/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html
index 76341f4155e..db124df99f0 100644
--- a/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html
+++ b/Master/tlpkg/texworks/texworks-help/TeXworks-manual/en/Regularexpressions.html
@@ -9,18 +9,18 @@
<meta http-equiv="Content-Type" content=
"text/html; charset=utf-8" />
<meta name="generator" content=
-"TeX4ht (http://www.tug.org/tex4ht/)" />
+"TeX4ht (https://tug.org/tex4ht/)" />
<meta name="originator" content=
-"TeX4ht (http://www.tug.org/tex4ht/)" />
-<!-- info,2,imgdir:images/,sec-filename,next,index=2,url-enc,html -->
+"TeX4ht (https://tug.org/tex4ht/)" />
+<!-- info,2,sec-filename,next,index=2,url-enc,charset=utf-8,html -->
<meta name="src" content="index.tex" />
<link rel="stylesheet" type="text/css" href="index.css" />
<style type="text/css" xml:space="preserve">
/*<![CDATA[*/
- tr.c15 {vertical-align:baseline;}
- td.c14 {white-space:wrap; text-align:left;}
- td.c13 {white-space:nowrap; text-align:left;}
- div.c12 {white-space:nowrap; text-align:left;}
+ tr.c29 {vertical-align:baseline;}
+ td.c28 {white-space:normal; text-align:left;}
+ td.c27 {white-space:nowrap; text-align:left;}
+ div.c26 {white-space:nowrap; text-align:left;}
/*]]>*/
</style>
</head>
@@ -40,24 +40,24 @@
<div class="chapternumber">
B
</div>
-<h1><a id="x43-52000B" name="x43-52000B"></a>Regular
+<h1><a id="x43-54000B" name="x43-54000B"></a>Regular
expressions</h1><!--l. 8-->
-<p class="indent">As T<sub>E</sub>Xworks is built on Qt4, the
-available regular expressions<a id="dx43-52001" name=
-"dx43-52001"></a>—which are often referred to as <b>regexp</b>—are
-a subset of those found in Qt4. See the site of Qt4<span class=
+<p class="indent">As T<sub>E</sub>Xworks is built on Qt, the
+available regular expressions<a id="dx43-54001" name=
+"dx43-54001"></a>—which are often referred to as <b>regexp</b>—are
+a subset of those found in Qt. See the site of Qt<span class=
"footnote-mark"><a href="index44.html#fn1x10"><sup class=
-"textsuperscript">1</sup></a></span><a id="x43-52002f1" name=
-"x43-52002f1"></a> for more information. It is possible to find
+"textsuperscript">1</sup></a></span><a id="x43-54002f1" name=
+"x43-54002f1"></a> for more information. It is possible to find
other information about regexps on the net<span class=
"footnote-mark"><a href="index45.html#fn2x10"><sup class=
-"textsuperscript">2</sup></a></span><a id="x43-52003f2" name=
-"x43-52003f2"></a> or from books. But pay attention that not all
+"textsuperscript">2</sup></a></span><a id="x43-54003f2" name=
+"x43-54003f2"></a> or from books. But pay attention that not all
systems (programming languages, editors, …) use the same set of
instructions; there is no “standard set”, unfortunately.</p>
<h3 class="sectionHead"><span class="titlemark">B.1</span> <a id=
-"x43-53000B.1" name="x43-53000B.1"></a>Introduction</h3><a id=
-"dx43-53001" name="dx43-53001"></a> <!--l. 12-->
+"x43-55000B.1" name="x43-55000B.1"></a>Introduction</h3><a id=
+"dx43-55001" name="dx43-55001"></a> <!--l. 12-->
<p class="noindent">When searching and replacing, one has to define
the text to be found. This can be the text itself (e.g.,
“Abracadabra”), but often it is necessary to define the strings in
@@ -79,14 +79,14 @@ the range. This can even be combined: <b>[a-zA-Z0-9]</b> will match
all letters and all numbers. <!--l. 16--></p>
<p class="indent">To define a complementary set<span class=
"footnote-mark"><a href="index46.html#fn3x10"><sup class=
-"textsuperscript">3</sup></a></span><a id="x43-53002f3" name=
-"x43-53002f3"></a>, one uses “<b>^</b>”: the caret negates the
+"textsuperscript">3</sup></a></span><a id="x43-55002f3" name=
+"x43-55002f3"></a>, one uses “<b>^</b>”: the caret negates the
character set if it occurs at the beginning, i.e., immediately
after the opening square bracket. <b>[^abc]</b> matches anything
except <b>a</b>, <b>b</b>, <b>c</b>.</p>
<h3 class="sectionHead"><span class="titlemark">B.2</span> <a id=
-"x43-54000B.2" name="x43-54000B.2"></a>Codes to represent special
-sets</h3><a id="dx43-54001" name="dx43-54001"></a> <!--l. 20-->
+"x43-56000B.2" name="x43-56000B.2"></a>Codes to represent special
+sets</h3><a id="dx43-56001" name="dx43-56001"></a> <!--l. 20-->
<p class="noindent">When using regexps, one very often has to
create a search expession which represents other strings in a
generic way. If you are looking for a string that matches email
@@ -101,45 +101,45 @@ of sets; for example, to instead of manually defining the set of
digits <b>[0-9]</b>, one can use “<b>\d</b>”. The following table
lists the replacement codes.<span class="footnote-mark"><a href=
"index47.html#fn4x10"><sup class=
-"textsuperscript">4</sup></a></span><a id="x43-54002f4" name=
-"x43-54002f4"></a> <!--l. 25--></p>
+"textsuperscript">4</sup></a></span><a id="x43-56002f4" name=
+"x43-56002f4"></a> <!--l. 25--></p>
<p class="noindent"><!--tex4ht:inline--></p>
<div class="tabular">
-<table id="TBL-12" class="tabular" cellspacing="0" cellpadding="0">
+<table id="TBL-12" class="tabular">
<colgroup id="TBL-12-1g">
<col id="TBL-12-1" />
<col id="TBL-12-2" />
</colgroup>
-<tr class="c15" id="TBL-12-1-">
-<td id="TBL-12-1-1" class="td11 c13">
-<div class="multicolumn c12">
+<tr class="c29" id="TBL-12-1-">
+<td id="TBL-12-1-1" class="td11 c27">
+<div class="multicolumn c26">
Element
</div>
</td>
-<td id="TBL-12-1-2" class="td11 c14">
+<td id="TBL-12-1-2" class="td11 c28">
<!--l. 27-->
<p class="noindent">Meaning</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-2-">
-<td id="TBL-12-2-1" class="td11 c14">
+<tr class="c29" id="TBL-12-2-">
+<td id="TBL-12-2-1" class="td11 c28">
<!--l. 29-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">c</span></p>
</td>
-<td id="TBL-12-2-2" class="td11 c14">
+<td id="TBL-12-2-2" class="td11 c28">
<!--l. 29-->
<p class="noindent">Any character represents itself unless it has a
special regexp meaning. Thus c matches the character c.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-3-">
-<td id="TBL-12-3-1" class="td11 c14">
+<tr class="c29" id="TBL-12-3-">
+<td id="TBL-12-3-1" class="td11 c28">
<!--l. 30-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\c</span></p>
</td>
-<td id="TBL-12-3-2" class="td11 c14">
+<td id="TBL-12-3-2" class="td11 c28">
<!--l. 30-->
<p class="noindent">A special character that follows a backslash
matches the character itself except where mentioned below. For
@@ -148,61 +148,61 @@ a string you would write “<span class=
"obeylines-h verb ec-lmtt-12">\^</span>”.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-4-">
-<td id="TBL-12-4-1" class="td11 c14">
+<tr class="c29" id="TBL-12-4-">
+<td id="TBL-12-4-1" class="td11 c28">
<!--l. 31-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\n</span></p>
</td>
-<td id="TBL-12-4-2" class="td11 c14">
+<td id="TBL-12-4-2" class="td11 c28">
<!--l. 31-->
<p class="noindent">This matches the ASCII line feed character (LF,
Unix newline, used in T<sub>E</sub>Xworks).</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-5-">
-<td id="TBL-12-5-1" class="td11 c14">
+<tr class="c29" id="TBL-12-5-">
+<td id="TBL-12-5-1" class="td11 c28">
<!--l. 32-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\r</span></p>
</td>
-<td id="TBL-12-5-2" class="td11 c14">
+<td id="TBL-12-5-2" class="td11 c28">
<!--l. 32-->
<p class="noindent">This matches the ASCII carriage return
character (CR).</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-6-">
-<td id="TBL-12-6-1" class="td11 c14">
+<tr class="c29" id="TBL-12-6-">
+<td id="TBL-12-6-1" class="td11 c28">
<!--l. 33-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\t</span></p>
</td>
-<td id="TBL-12-6-2" class="td11 c14">
+<td id="TBL-12-6-2" class="td11 c28">
<!--l. 33-->
<p class="noindent">This matches the ASCII horizontal tab character
(HT).</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-7-">
-<td id="TBL-12-7-1" class="td11 c14">
+<tr class="c29" id="TBL-12-7-">
+<td id="TBL-12-7-1" class="td11 c28">
<!--l. 34-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\v</span></p>
</td>
-<td id="TBL-12-7-2" class="td11 c14">
+<td id="TBL-12-7-2" class="td11 c28">
<!--l. 34-->
<p class="noindent">This matches the ASCII vertical tab character
(VT; almost never used).</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-8-">
-<td id="TBL-12-8-1" class="td11 c14">
+<tr class="c29" id="TBL-12-8-">
+<td id="TBL-12-8-1" class="td11 c28">
<!--l. 35-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\xhhhh</span></p>
</td>
-<td id="TBL-12-8-2" class="td11 c14">
+<td id="TBL-12-8-2" class="td11 c28">
<!--l. 35-->
<p class="noindent">This matches the Unicode character
corresponding to the hexadecimal number hhhh (between 0x0000 and
@@ -211,14 +211,14 @@ corresponding to the hexadecimal number hhhh (between 0x0000 and
to the octal number ooo (between 0 and 0377).</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-9-">
-<td id="TBL-12-9-1" class="td11 c14">
+<tr class="c29" id="TBL-12-9-">
+<td id="TBL-12-9-1" class="td11 c28">
<!--l. 36-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">.</span> <span class=
"ec-lmbx-12">(dot)</span></p>
</td>
-<td id="TBL-12-9-2" class="td11 c14">
+<td id="TBL-12-9-2" class="td11 c28">
<!--l. 36-->
<p class="noindent">This matches any character (including newline).
So if you want to match the dot character iteself, you have to
@@ -226,81 +226,81 @@ escape it with “<span class=
"obeylines-h verb ec-lmtt-12">\.</span>”.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-10-">
-<td id="TBL-12-10-1" class="td11 c14">
+<tr class="c29" id="TBL-12-10-">
+<td id="TBL-12-10-1" class="td11 c28">
<!--l. 37-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\d</span></p>
</td>
-<td id="TBL-12-10-2" class="td11 c14">
+<td id="TBL-12-10-2" class="td11 c28">
<!--l. 37-->
<p class="noindent">This matches a digit.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-11-">
-<td id="TBL-12-11-1" class="td11 c14">
+<tr class="c29" id="TBL-12-11-">
+<td id="TBL-12-11-1" class="td11 c28">
<!--l. 38-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\D</span></p>
</td>
-<td id="TBL-12-11-2" class="td11 c14">
+<td id="TBL-12-11-2" class="td11 c28">
<!--l. 38-->
<p class="noindent">This matches a non-digit.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-12-">
-<td id="TBL-12-12-1" class="td11 c14">
+<tr class="c29" id="TBL-12-12-">
+<td id="TBL-12-12-1" class="td11 c28">
<!--l. 39-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\s</span></p>
</td>
-<td id="TBL-12-12-2" class="td11 c14">
+<td id="TBL-12-12-2" class="td11 c28">
<!--l. 39-->
<p class="noindent">This matches a white space.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-13-">
-<td id="TBL-12-13-1" class="td11 c14">
+<tr class="c29" id="TBL-12-13-">
+<td id="TBL-12-13-1" class="td11 c28">
<!--l. 40-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\S</span></p>
</td>
-<td id="TBL-12-13-2" class="td11 c14">
+<td id="TBL-12-13-2" class="td11 c28">
<!--l. 40-->
<p class="noindent">This matches a non-white space.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-14-">
-<td id="TBL-12-14-1" class="td11 c14">
+<tr class="c29" id="TBL-12-14-">
+<td id="TBL-12-14-1" class="td11 c28">
<!--l. 41-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\w</span></p>
</td>
-<td id="TBL-12-14-2" class="td11 c14">
+<td id="TBL-12-14-2" class="td11 c28">
<!--l. 41-->
<p class="noindent">This matches a word character or “<span class=
"obeylines-h verb ec-lmtt-12">_</span>”).</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-15-">
-<td id="TBL-12-15-1" class="td11 c14">
+<tr class="c29" id="TBL-12-15-">
+<td id="TBL-12-15-1" class="td11 c28">
<!--l. 42-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\W</span></p>
</td>
-<td id="TBL-12-15-2" class="td11 c14">
+<td id="TBL-12-15-2" class="td11 c28">
<!--l. 42-->
<p class="noindent">This matches a non-word character.</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-16-">
-<td id="TBL-12-16-1" class="td11 c14">
+<tr class="c29" id="TBL-12-16-">
+<td id="TBL-12-16-1" class="td11 c28">
<!--l. 43-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\1</span><span class=
"ec-lmbx-12">,</span> <span class="ec-lmbx-12">…</span></p>
</td>
-<td id="TBL-12-16-2" class="td11 c14">
+<td id="TBL-12-16-2" class="td11 c28">
<!--l. 43-->
<p class="noindent">The n-th back-reference, e.g. <span class=
"obeylines-h verb ec-lmtt-12">\1</span>, <span class=
@@ -308,8 +308,8 @@ escape it with “<span class=
replacement string with capturing patterns—see below</p>
</td>
</tr>
-<tr class="c15" id="TBL-12-17-">
-<td id="TBL-12-17-1" class="td11 c14"></td>
+<tr class="c29" id="TBL-12-17-">
+<td id="TBL-12-17-1" class="td11 c28"></td>
</tr>
</table>
</div><!--l. 48-->
@@ -321,8 +321,8 @@ as a white space. Under T<sub>E</sub>Xworks the end of line is
referred to by “<span class=
"obeylines-h verb ec-lmtt-12">\n</span>”.</p>
<h3 class="sectionHead"><span class="titlemark">B.3</span> <a id=
-"x43-55000B.3" name="x43-55000B.3"></a>Repetition</h3><a id=
-"dx43-55001" name="dx43-55001"></a> <!--l. 55-->
+"x43-57000B.3" name="x43-57000B.3"></a>Repetition</h3><a id=
+"dx43-57001" name="dx43-57001"></a> <!--l. 55-->
<p class="noindent">One doesn’t work only on single letters,
digits, symbols; most of the time, these are repeated (e.g., a
number is a repetition of digits and symbols—in the right order).
@@ -348,72 +348,72 @@ string can only be comprised of one or two digits (<b>^</b> and
<!--l. 62--></p>
<p class="indent">Here is a table of quantifiers.<span class=
"footnote-mark"><a href="index48.html#fn5x10"><sup class=
-"textsuperscript">5</sup></a></span><a id="x43-55002f5" name=
-"x43-55002f5"></a> E represents an arbitrary expression (letter,
+"textsuperscript">5</sup></a></span><a id="x43-57002f5" name=
+"x43-57002f5"></a> E represents an arbitrary expression (letter,
abbreviation, set). <!--l. 65--></p>
<p class="noindent"><!--tex4ht:inline--></p>
<div class="tabular">
-<table id="TBL-13" class="tabular" cellspacing="0" cellpadding="0">
+<table id="TBL-13" class="tabular">
<colgroup id="TBL-13-1g">
<col id="TBL-13-1" />
<col id="TBL-13-2" />
</colgroup>
-<tr class="c15" id="TBL-13-1-">
-<td id="TBL-13-1-1" class="td11 c14">
+<tr class="c29" id="TBL-13-1-">
+<td id="TBL-13-1-1" class="td11 c28">
<!--l. 67-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E{n,m}</span></p>
</td>
-<td id="TBL-13-1-2" class="td11 c14">
+<td id="TBL-13-1-2" class="td11 c28">
<!--l. 67-->
<p class="noindent">Matches at least <b>n</b> occurrences of the
expression and at most <b>m</b> occurrences of the expression.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-2-">
-<td id="TBL-13-2-1" class="td11 c14">
+<tr class="c29" id="TBL-13-2-">
+<td id="TBL-13-2-1" class="td11 c28">
<!--l. 68-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E{n}</span></p>
</td>
-<td id="TBL-13-2-2" class="td11 c14">
+<td id="TBL-13-2-2" class="td11 c28">
<!--l. 68-->
<p class="noindent">Matches exactly <b>n</b> occurrences of the
expression. This is the same <b>E{n,n}</b> or as repeating the
expression n times.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-3-">
-<td id="TBL-13-3-1" class="td11 c14">
+<tr class="c29" id="TBL-13-3-">
+<td id="TBL-13-3-1" class="td11 c28">
<!--l. 69-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E{n,}</span></p>
</td>
-<td id="TBL-13-3-2" class="td11 c14">
+<td id="TBL-13-3-2" class="td11 c28">
<!--l. 69-->
<p class="noindent">Matches at least <b>n</b> occurrences of the
expression.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-4-">
-<td id="TBL-13-4-1" class="td11 c14">
+<tr class="c29" id="TBL-13-4-">
+<td id="TBL-13-4-1" class="td11 c28">
<!--l. 70-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E{,m}</span></p>
</td>
-<td id="TBL-13-4-2" class="td11 c14">
+<td id="TBL-13-4-2" class="td11 c28">
<!--l. 70-->
<p class="noindent">Matches at most <b>m</b> occurrences of the
expression.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-5-">
-<td id="TBL-13-5-1" class="td11 c14">
+<tr class="c29" id="TBL-13-5-">
+<td id="TBL-13-5-1" class="td11 c28">
<!--l. 71-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E?</span></p>
</td>
-<td id="TBL-13-5-2" class="td11 c14">
+<td id="TBL-13-5-2" class="td11 c28">
<!--l. 71-->
<p class="noindent">Matches zero or one occurrence of E. This
quantifier effectively means <em>the expression is optional</em>
@@ -421,25 +421,25 @@ quantifier effectively means <em>the expression is optional</em>
<b>E{0,1}</b>.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-6-">
-<td id="TBL-13-6-1" class="td11 c14">
+<tr class="c29" id="TBL-13-6-">
+<td id="TBL-13-6-1" class="td11 c28">
<!--l. 72-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E+</span></p>
</td>
-<td id="TBL-13-6-2" class="td11 c14">
+<td id="TBL-13-6-2" class="td11 c28">
<!--l. 72-->
<p class="noindent">Matches one or more occurrences of E. This is
the same as <b>E{1,}</b>.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-7-">
-<td id="TBL-13-7-1" class="td11 c14">
+<tr class="c29" id="TBL-13-7-">
+<td id="TBL-13-7-1" class="td11 c28">
<!--l. 73-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">E*</span></p>
</td>
-<td id="TBL-13-7-2" class="td11 c14">
+<td id="TBL-13-7-2" class="td11 c28">
<!--l. 73-->
<p class="noindent">Matches zero or more occurrences of E. This is
the same as <b>E{0,}</b>. Beware, the <b>*</b> quantifier is often
@@ -448,14 +448,14 @@ matches zero or more occurrences, it will match even if the
expression is not present in the string.</p>
</td>
</tr>
-<tr class="c15" id="TBL-13-8-">
-<td id="TBL-13-8-1" class="td11 c14"></td>
+<tr class="c29" id="TBL-13-8-">
+<td id="TBL-13-8-1" class="td11 c28"></td>
</tr>
</table>
</div>
<h3 class="sectionHead"><span class="titlemark">B.4</span> <a id=
-"x43-56000B.4" name="x43-56000B.4"></a>Alternatives and
-assertions</h3><a id="dx43-56001" name="dx43-56001"></a>
+"x43-58000B.4" name="x43-58000B.4"></a>Alternatives and
+assertions</h3><a id="dx43-58001" name="dx43-58001"></a>
<!--l. 81-->
<p class="noindent">When searching, it is often necessary to search
for alternatives, e.g., apple, pear, or cherry, but not pineapple.
@@ -475,98 +475,98 @@ whole string. <!--l. 85--></p>
correspond to actual characters and will never be part of the
result of a search. <span class="footnote-mark"><a href=
"index49.html#fn6x10"><sup class=
-"textsuperscript">6</sup></a></span><a id="x43-56002f6" name=
-"x43-56002f6"></a> <!--l. 88--></p>
+"textsuperscript">6</sup></a></span><a id="x43-58002f6" name=
+"x43-58002f6"></a> <!--l. 88--></p>
<p class="noindent"><!--tex4ht:inline--></p>
<div class="tabular">
-<table id="TBL-14" class="tabular" cellspacing="0" cellpadding="0">
+<table id="TBL-14" class="tabular">
<colgroup id="TBL-14-1g">
<col id="TBL-14-1" />
<col id="TBL-14-2" />
</colgroup>
-<tr class="c15" id="TBL-14-1-">
-<td id="TBL-14-1-1" class="td11 c14">
+<tr class="c29" id="TBL-14-1-">
+<td id="TBL-14-1-1" class="td11 c28">
<!--l. 90-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">^</span></p>
</td>
-<td id="TBL-14-1-2" class="td11 c14">
+<td id="TBL-14-1-2" class="td11 c28">
<!--l. 90-->
<p class="noindent">The caret signifies the beginning of the
string. If you wish to match a literal <b>^</b>, you must escape it
by writing <span class="obeylines-h verb ec-lmtt-12">\^</span></p>
</td>
</tr>
-<tr class="c15" id="TBL-14-2-">
-<td id="TBL-14-2-1" class="td11 c14">
+<tr class="c29" id="TBL-14-2-">
+<td id="TBL-14-2-1" class="td11 c28">
<!--l. 91-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">$</span></p>
</td>
-<td id="TBL-14-2-2" class="td11 c14">
+<td id="TBL-14-2-2" class="td11 c28">
<!--l. 91-->
<p class="noindent">The dollar signifies the end of the string. If
you wish to match a literal <b>$</b>, you must escape it by writing
<span class="obeylines-h verb ec-lmtt-12">\$</span></p>
</td>
</tr>
-<tr class="c15" id="TBL-14-3-">
-<td id="TBL-14-3-1" class="td11 c14">
+<tr class="c29" id="TBL-14-3-">
+<td id="TBL-14-3-1" class="td11 c28">
<!--l. 92-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\b</span></p>
</td>
-<td id="TBL-14-3-2" class="td11 c14">
+<td id="TBL-14-3-2" class="td11 c28">
<!--l. 92-->
<p class="noindent">A word boundary.</p>
</td>
</tr>
-<tr class="c15" id="TBL-14-4-">
-<td id="TBL-14-4-1" class="td11 c14">
+<tr class="c29" id="TBL-14-4-">
+<td id="TBL-14-4-1" class="td11 c28">
<!--l. 93-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">\B</span></p>
</td>
-<td id="TBL-14-4-2" class="td11 c14">
+<td id="TBL-14-4-2" class="td11 c28">
<!--l. 93-->
<p class="noindent">A non-word boundary. This assertion is true
wherever <span class="obeylines-h verb ec-lmtt-12">\b</span> is
false.</p>
</td>
</tr>
-<tr class="c15" id="TBL-14-5-">
-<td id="TBL-14-5-1" class="td11 c14">
+<tr class="c29" id="TBL-14-5-">
+<td id="TBL-14-5-1" class="td11 c28">
<!--l. 94-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">(?=E)</span></p>
</td>
-<td id="TBL-14-5-2" class="td11 c14">
+<td id="TBL-14-5-2" class="td11 c28">
<!--l. 94-->
<p class="noindent">Positive lookahead. This assertion is true if
the expression <b>E</b> matches at this point.</p>
</td>
</tr>
-<tr class="c15" id="TBL-14-6-">
-<td id="TBL-14-6-1" class="td11 c14">
+<tr class="c29" id="TBL-14-6-">
+<td id="TBL-14-6-1" class="td11 c28">
<!--l. 95-->
<p class="noindent"><span class=
"obeylines-h verb ec-lmtt-12">(?!E)</span></p>
</td>
-<td id="TBL-14-6-2" class="td11 c14">
+<td id="TBL-14-6-2" class="td11 c28">
<!--l. 95-->
<p class="noindent">Negative lookahead. This assertion is true if
the expression <b>E</b> does not match at this point.</p>
</td>
</tr>
-<tr class="c15" id="TBL-14-7-">
-<td id="TBL-14-7-1" class="td11 c14"></td>
+<tr class="c29" id="TBL-14-7-">
+<td id="TBL-14-7-1" class="td11 c28"></td>
</tr>
</table>
</div><!--l. 100-->
<p class="indent">Notice the different meanings of <b>^</b> as
assertion and as negation inside a character set!</p>
<h3 class="sectionHead"><span class="titlemark">B.5</span> <a id=
-"x43-57000B.5" name="x43-57000B.5"></a>Final notes</h3>
+"x43-59000B.5" name="x43-59000B.5"></a>Final notes</h3>
<!--l. 104-->
<p class="noindent">Using rexexp is very powerful, but also quite
dangerous; you could change your text at unseen places and