mirror of
https://github.com/boostorg/regex.git
synced 2025-07-01 14:50:58 +02:00
Fix typos from https://svn.boost.org/trac/boost/ticket/9283 and update history.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="../syntax.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../syntax.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="basic_extended.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section boost_regex_syntax_perl_syntax">
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="boost_regex.syntax.perl_syntax"></a><a class="link" href="perl_syntax.html" title="Perl Regular Expression Syntax">Perl Regular Expression
|
||||
Syntax</a>
|
||||
@ -223,7 +223,7 @@
|
||||
</h5>
|
||||
<p>
|
||||
By default when a repeated pattern does not match then the engine will backtrack
|
||||
until a match is found. However, this behaviour can sometime be undesireable
|
||||
until a match is found. However, this behaviour can sometime be undesireble
|
||||
so there are also "possessive" repeats: these match as much as
|
||||
possible and do not then allow backtracking if the rest of the expression
|
||||
fails to match.
|
||||
@ -1141,15 +1141,15 @@
|
||||
<pre class="programlisting"><span class="special">(?<</span><span class="identifier">NAME</span><span class="special">></span><span class="identifier">expression</span><span class="special">)</span>
|
||||
</pre>
|
||||
<p>
|
||||
Which can be then be refered to by the name <span class="emphasis"><em>NAME</em></span>. Alternatively
|
||||
Which can be then be referred to by the name <span class="emphasis"><em>NAME</em></span>. Alternatively
|
||||
you can delimit the name using 'NAME' as in:
|
||||
</p>
|
||||
<pre class="programlisting"><span class="special">(?</span><span class="char">'NAME'</span><span class="identifier">expression</span><span class="special">)</span>
|
||||
</pre>
|
||||
<p>
|
||||
These named subexpressions can be refered to in a backreference using either
|
||||
These named subexpressions can be referred to in a backreference using either
|
||||
<code class="literal">\g{NAME}</code> or <code class="literal">\k<NAME></code> and can
|
||||
also be refered to by name in a <a class="link" href="../format/perl_format.html" title="Perl Format String Syntax">Perl</a>
|
||||
also be referred to by name in a <a class="link" href="../format/perl_format.html" title="Perl Format String Syntax">Perl</a>
|
||||
format string for search and replace operations, or in the <a class="link" href="../ref/match_results.html" title="match_results"><code class="computeroutput"><span class="identifier">match_results</span></code></a> member functions.
|
||||
</p>
|
||||
<h6>
|
||||
@ -1350,7 +1350,7 @@
|
||||
<li class="listitem">
|
||||
<code class="literal">(?(DEFINE)never-exectuted-pattern)</code> Defines a block
|
||||
of code that is never executed and matches no characters: this is usually
|
||||
used to define one or more named sub-expressions which are refered to
|
||||
used to define one or more named sub-expressions which are referred to
|
||||
from elsewhere in the pattern.
|
||||
</li>
|
||||
</ul></div>
|
||||
|
Reference in New Issue
Block a user