mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 20:17:24 +02:00
Documentation fix for backreferences example. Fixes issue #33.
This commit is contained in:
@ -191,7 +191,7 @@ cab
|
||||
is in the range 1-9, matches the same string that was matched by sub-expression
|
||||
<span class="emphasis"><em>n</em></span>. For example the expression:
|
||||
</p>
|
||||
<pre class="programlisting">^(a*).*\1$</pre>
|
||||
<pre class="programlisting">^(a*)[^a]*\1$</pre>
|
||||
<p>
|
||||
Will match the string:
|
||||
</p>
|
||||
|
@ -161,7 +161,7 @@ aaaa
|
||||
is in the range 1-9, matches the same string that was matched by sub-expression
|
||||
<span class="emphasis"><em>n</em></span>. For example the expression:
|
||||
</p>
|
||||
<pre class="programlisting">^\(a*\).*\1$</pre>
|
||||
<pre class="programlisting">^\(a*\)[^a]*\1$</pre>
|
||||
<p>
|
||||
Will match the string:
|
||||
</p>
|
||||
|
@ -268,7 +268,7 @@
|
||||
is in the range 1-9, matches the same string that was matched by sub-expression
|
||||
<span class="emphasis"><em>n</em></span>. For example the expression:
|
||||
</p>
|
||||
<pre class="programlisting">^(a*).*\1$</pre>
|
||||
<pre class="programlisting">^(a*)[^a]*\1$</pre>
|
||||
<p>
|
||||
Will match the string:
|
||||
</p>
|
||||
|
@ -221,7 +221,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||||
<td align="left"><p><small>Last revised: February 24, 2017 at 13:14:00 GMT</small></p></td>
|
||||
<td align="left"><p><small>Last revised: July 30, 2017 at 17:49:38 GMT</small></p></td>
|
||||
<td align="right"><div class="copyright-footer"></div></td>
|
||||
</tr></table>
|
||||
<hr>
|
||||
|
Reference in New Issue
Block a user