mirror of
https://github.com/boostorg/regex.git
synced 2025-07-25 10:07:23 +02:00
Merge more rebuilt documentation.
[SVN r63771]
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>The Leftmost Longest Rule</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
|
||||
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
||||
<link rel="home" href="../../index.html" title="Boost.Regex">
|
||||
<link rel="up" href="../syntax.html" title="Regular Expression Syntax">
|
||||
<link rel="prev" href="collating_names/named_unicode.html" title="Named Unicode Characters">
|
||||
@ -20,9 +20,9 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="collating_names/named_unicode.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../syntax.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../format.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="collating_names/named_unicode.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="../format.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
<div class="section" lang="en">
|
||||
<div class="section">
|
||||
<div class="titlepage"><div><div><h3 class="title">
|
||||
<a name="boost_regex.syntax.leftmost_longest_rule"></a><a class="link" href="leftmost_longest_rule.html" title="The Leftmost Longest Rule"> The Leftmost
|
||||
Longest Rule</a>
|
||||
@ -32,35 +32,35 @@
|
||||
location, for POSIX basic and extended regular expressions, the "best"
|
||||
match is determined as follows:
|
||||
</p>
|
||||
<div class="orderedlist"><ol type="1">
|
||||
<li>
|
||||
Find the leftmost match, if there is only one match possible at this location
|
||||
then return it.
|
||||
</li>
|
||||
<li>
|
||||
Find the longest of the possible matches, along with any ties. If there
|
||||
is only one such possible match then return it.
|
||||
</li>
|
||||
<li>
|
||||
If there are no marked sub-expressions, then all the remaining alternatives
|
||||
are indistinguishable; return the first of these found.
|
||||
</li>
|
||||
<li>
|
||||
Find the match which has matched the first sub-expression in the leftmost
|
||||
position, along with any ties. If there is only on such match possible
|
||||
then return it.
|
||||
</li>
|
||||
<li>
|
||||
Find the match which has the longest match for the first sub-expression,
|
||||
along with any ties. If there is only one such match then return it.
|
||||
</li>
|
||||
<li>
|
||||
Repeat steps 4 and 5 for each additional marked sub-expression.
|
||||
</li>
|
||||
<li>
|
||||
If there is still more than one possible match remaining, then they are
|
||||
indistinguishable; return the first one found.
|
||||
</li>
|
||||
<div class="orderedlist"><ol class="orderedlist" type="1">
|
||||
<li class="listitem">
|
||||
Find the leftmost match, if there is only one match possible at this
|
||||
location then return it.
|
||||
</li>
|
||||
<li class="listitem">
|
||||
Find the longest of the possible matches, along with any ties. If there
|
||||
is only one such possible match then return it.
|
||||
</li>
|
||||
<li class="listitem">
|
||||
If there are no marked sub-expressions, then all the remaining alternatives
|
||||
are indistinguishable; return the first of these found.
|
||||
</li>
|
||||
<li class="listitem">
|
||||
Find the match which has matched the first sub-expression in the leftmost
|
||||
position, along with any ties. If there is only on such match possible
|
||||
then return it.
|
||||
</li>
|
||||
<li class="listitem">
|
||||
Find the match which has the longest match for the first sub-expression,
|
||||
along with any ties. If there is only one such match then return it.
|
||||
</li>
|
||||
<li class="listitem">
|
||||
Repeat steps 4 and 5 for each additional marked sub-expression.
|
||||
</li>
|
||||
<li class="listitem">
|
||||
If there is still more than one possible match remaining, then they are
|
||||
indistinguishable; return the first one found.
|
||||
</li>
|
||||
</ol></div>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
@ -73,7 +73,7 @@
|
||||
</tr></table>
|
||||
<hr>
|
||||
<div class="spirit-nav">
|
||||
<a accesskey="p" href="collating_names/named_unicode.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../syntax.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="../format.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
|
||||
<a accesskey="p" href="collating_names/named_unicode.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="../format.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user