mirror of
https://github.com/boostorg/regex.git
synced 2025-06-26 20:31:35 +02:00
Compare commits
5 Commits
svn-branch
...
boost-1.31
Author | SHA1 | Date | |
---|---|---|---|
8746a238d8 | |||
d717e0a962 | |||
8a2e6a5dfb | |||
b984803077 | |||
a952ab8c15 |
@ -31,7 +31,7 @@
|
|||||||
character sequence. The behavior of the format flags is descibed in more
|
character sequence. The behavior of the format flags is descibed in more
|
||||||
detail in the <A href="format_syntax.html">format syntax guide</A>.</p>
|
detail in the <A href="format_syntax.html">format syntax guide</A>.</p>
|
||||||
<pre>
|
<pre>
|
||||||
namespace std{ namespace regex_constants{
|
namespace boost{ namespace regex_constants{
|
||||||
|
|
||||||
typedef bitmask_type match_flag_type;
|
typedef bitmask_type match_flag_type;
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ static const match_flag_type format_first_only;
|
|||||||
static const match_flag_type format_all;
|
static const match_flag_type format_all;
|
||||||
|
|
||||||
} // namespace regex_constants
|
} // namespace regex_constants
|
||||||
} // namespace std
|
} // namespace boost
|
||||||
</pre>
|
</pre>
|
||||||
<h3>Description</h3>
|
<h3>Description</h3>
|
||||||
<p>The type <code>match_flag_type</code> is an implementation defined bitmask type
|
<p>The type <code>match_flag_type</code> is an implementation defined bitmask type
|
||||||
@ -271,10 +271,10 @@ static const match_flag_type format_all;
|
|||||||
<br>
|
<br>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -42,7 +42,7 @@
|
|||||||
iterator first,
|
iterator first,
|
||||||
iterator last,
|
iterator last,
|
||||||
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
||||||
<b>unsigned</b> flags = match_default)
|
boost::match_flag_type flags = match_default)
|
||||||
</pre>
|
</pre>
|
||||||
<p>The library also defines the following convenience versions, which take either
|
<p>The library also defines the following convenience versions, which take either
|
||||||
a const charT*, or a const std::basic_string<>& in place of a pair of
|
a const charT*, or a const std::basic_string<>& in place of a pair of
|
||||||
@ -53,13 +53,13 @@
|
|||||||
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
||||||
<b>const</b> charT* str,
|
<b>const</b> charT* str,
|
||||||
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
||||||
<b>unsigned</b> flags = match_default);
|
boost::match_flag_type flags = match_default);
|
||||||
|
|
||||||
<b>template</b> <<b>class</b> Predicate, <b>class</b> ST, <b>class</b> SA, <b>class</b> Allocator, <b>class</b> charT, <b>class</b> traits>
|
<b>template</b> <<b>class</b> Predicate, <b>class</b> ST, <b>class</b> SA, <b>class</b> Allocator, <b>class</b> charT, <b>class</b> traits>
|
||||||
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
||||||
<b>const</b> std::basic_string<charT, ST, SA>& s,
|
<b>const</b> std::basic_string<charT, ST, SA>& s,
|
||||||
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
||||||
<b>unsigned</b> flags = match_default);
|
boost::match_flag_type flags = match_default);
|
||||||
</pre>
|
</pre>
|
||||||
<p>The parameters for the primary version of regex_grep have the following
|
<p>The parameters for the primary version of regex_grep have the following
|
||||||
meanings: </p>
|
meanings: </p>
|
||||||
@ -370,11 +370,10 @@ index[std::string(what[5].first, what[5].second) + std::string(what[6].first, wh
|
|||||||
<hr>
|
<hr>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
@ -294,7 +294,7 @@ void</B> IndexClasses(map_type& m, <B>const</B> std::string& file)
|
|||||||
start = file.begin();
|
start = file.begin();
|
||||||
end = file.end();
|
end = file.end();
|
||||||
boost::<a href="match_results.html">match_results</a><std::string::const_iterator> what;
|
boost::<a href="match_results.html">match_results</a><std::string::const_iterator> what;
|
||||||
<B>unsigned</B> <B>int</B> flags = boost::match_default;
|
boost::match_flag_type flags = boost::match_default;
|
||||||
<B>while</B>(regex_search(start, end, what, expression, flags))
|
<B>while</B>(regex_search(start, end, what, expression, flags))
|
||||||
{
|
{
|
||||||
<FONT color=#000080> <I>// what[0] contains the whole string
|
<FONT color=#000080> <I>// what[0] contains the whole string
|
||||||
@ -314,11 +314,10 @@ void</B> IndexClasses(map_type& m, <B>const</B> std::string& file)
|
|||||||
<HR>
|
<HR>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
@ -38,15 +38,15 @@
|
|||||||
<PRE><B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
<PRE><B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
||||||
std::size_t regex_split(OutputIterator out,
|
std::size_t regex_split(OutputIterator out,
|
||||||
std::basic_string<charT, Traits1, Alloc1>& s,
|
std::basic_string<charT, Traits1, Alloc1>& s,
|
||||||
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
||||||
<B> unsigned</B> flags,
|
<STRONG> </STRONG>boost::match_flag_type flags,
|
||||||
std::size_t max_split);
|
std::size_t max_split);
|
||||||
|
|
||||||
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
||||||
std::size_t regex_split(OutputIterator out,
|
std::size_t regex_split(OutputIterator out,
|
||||||
std::basic_string<charT, Traits1, Alloc1>& s,
|
std::basic_string<charT, Traits1, Alloc1>& s,
|
||||||
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
||||||
<B>unsigned</B> flags = match_default);
|
boost::match_flag_type flags = match_default);
|
||||||
|
|
||||||
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1>
|
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1>
|
||||||
std::size_t regex_split(OutputIterator out,
|
std::size_t regex_split(OutputIterator out,
|
||||||
@ -134,11 +134,10 @@ boost::regex e(<FONT color=#000080>"<\\s*A\\s+[^>]*href\\s*=\\s*\"([^\"]*)
|
|||||||
<HR>
|
<HR>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
character sequence. The behavior of the format flags is descibed in more
|
character sequence. The behavior of the format flags is descibed in more
|
||||||
detail in the <A href="format_syntax.html">format syntax guide</A>.</p>
|
detail in the <A href="format_syntax.html">format syntax guide</A>.</p>
|
||||||
<pre>
|
<pre>
|
||||||
namespace std{ namespace regex_constants{
|
namespace boost{ namespace regex_constants{
|
||||||
|
|
||||||
typedef bitmask_type match_flag_type;
|
typedef bitmask_type match_flag_type;
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ static const match_flag_type format_first_only;
|
|||||||
static const match_flag_type format_all;
|
static const match_flag_type format_all;
|
||||||
|
|
||||||
} // namespace regex_constants
|
} // namespace regex_constants
|
||||||
} // namespace std
|
} // namespace boost
|
||||||
</pre>
|
</pre>
|
||||||
<h3>Description</h3>
|
<h3>Description</h3>
|
||||||
<p>The type <code>match_flag_type</code> is an implementation defined bitmask type
|
<p>The type <code>match_flag_type</code> is an implementation defined bitmask type
|
||||||
@ -271,10 +271,10 @@ static const match_flag_type format_all;
|
|||||||
<br>
|
<br>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
998
doc/regex.html
998
doc/regex.html
File diff suppressed because it is too large
Load Diff
@ -42,7 +42,7 @@
|
|||||||
iterator first,
|
iterator first,
|
||||||
iterator last,
|
iterator last,
|
||||||
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
||||||
<b>unsigned</b> flags = match_default)
|
boost::match_flag_type flags = match_default)
|
||||||
</pre>
|
</pre>
|
||||||
<p>The library also defines the following convenience versions, which take either
|
<p>The library also defines the following convenience versions, which take either
|
||||||
a const charT*, or a const std::basic_string<>& in place of a pair of
|
a const charT*, or a const std::basic_string<>& in place of a pair of
|
||||||
@ -53,13 +53,13 @@
|
|||||||
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
||||||
<b>const</b> charT* str,
|
<b>const</b> charT* str,
|
||||||
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
||||||
<b>unsigned</b> flags = match_default);
|
boost::match_flag_type flags = match_default);
|
||||||
|
|
||||||
<b>template</b> <<b>class</b> Predicate, <b>class</b> ST, <b>class</b> SA, <b>class</b> Allocator, <b>class</b> charT, <b>class</b> traits>
|
<b>template</b> <<b>class</b> Predicate, <b>class</b> ST, <b>class</b> SA, <b>class</b> Allocator, <b>class</b> charT, <b>class</b> traits>
|
||||||
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
<b>unsigned</b> <b>int</b> regex_grep(Predicate foo,
|
||||||
<b>const</b> std::basic_string<charT, ST, SA>& s,
|
<b>const</b> std::basic_string<charT, ST, SA>& s,
|
||||||
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
<b>const</b> basic_regex<charT, traits, Allocator>& e,
|
||||||
<b>unsigned</b> flags = match_default);
|
boost::match_flag_type flags = match_default);
|
||||||
</pre>
|
</pre>
|
||||||
<p>The parameters for the primary version of regex_grep have the following
|
<p>The parameters for the primary version of regex_grep have the following
|
||||||
meanings: </p>
|
meanings: </p>
|
||||||
@ -370,11 +370,10 @@ index[std::string(what[5].first, what[5].second) + std::string(what[6].first, wh
|
|||||||
<hr>
|
<hr>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
@ -294,7 +294,7 @@ void</B> IndexClasses(map_type& m, <B>const</B> std::string& file)
|
|||||||
start = file.begin();
|
start = file.begin();
|
||||||
end = file.end();
|
end = file.end();
|
||||||
boost::<a href="match_results.html">match_results</a><std::string::const_iterator> what;
|
boost::<a href="match_results.html">match_results</a><std::string::const_iterator> what;
|
||||||
<B>unsigned</B> <B>int</B> flags = boost::match_default;
|
boost::match_flag_type flags = boost::match_default;
|
||||||
<B>while</B>(regex_search(start, end, what, expression, flags))
|
<B>while</B>(regex_search(start, end, what, expression, flags))
|
||||||
{
|
{
|
||||||
<FONT color=#000080> <I>// what[0] contains the whole string
|
<FONT color=#000080> <I>// what[0] contains the whole string
|
||||||
@ -314,11 +314,10 @@ void</B> IndexClasses(map_type& m, <B>const</B> std::string& file)
|
|||||||
<HR>
|
<HR>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
@ -38,15 +38,15 @@
|
|||||||
<PRE><B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
<PRE><B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
||||||
std::size_t regex_split(OutputIterator out,
|
std::size_t regex_split(OutputIterator out,
|
||||||
std::basic_string<charT, Traits1, Alloc1>& s,
|
std::basic_string<charT, Traits1, Alloc1>& s,
|
||||||
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
||||||
<B> unsigned</B> flags,
|
<STRONG> </STRONG>boost::match_flag_type flags,
|
||||||
std::size_t max_split);
|
std::size_t max_split);
|
||||||
|
|
||||||
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1, <B>class</B> Traits2, <B>class</B> Alloc2>
|
||||||
std::size_t regex_split(OutputIterator out,
|
std::size_t regex_split(OutputIterator out,
|
||||||
std::basic_string<charT, Traits1, Alloc1>& s,
|
std::basic_string<charT, Traits1, Alloc1>& s,
|
||||||
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
<B> const</B> basic_regex<charT, Traits2, Alloc2>& e,
|
||||||
<B>unsigned</B> flags = match_default);
|
boost::match_flag_type flags = match_default);
|
||||||
|
|
||||||
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1>
|
<B>template</B> <<B>class</B> OutputIterator, <B>class</B> charT, <B>class</B> Traits1, <B>class</B> Alloc1>
|
||||||
std::size_t regex_split(OutputIterator out,
|
std::size_t regex_split(OutputIterator out,
|
||||||
@ -134,11 +134,10 @@ boost::regex e(<FONT color=#000080>"<\\s*A\\s+[^>]*href\\s*=\\s*\"([^\"]*)
|
|||||||
<HR>
|
<HR>
|
||||||
<p>Revised
|
<p>Revised
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||||
24 Oct 2003
|
04 Feb 2004
|
||||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||||
<p><i><EFBFBD> Copyright John Maddock 1998-
|
<p><i><EFBFBD> Copyright John Maddock 1998-
|
||||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan -->
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%Y" startspan --> 2004<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||||
2003<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
|
||||||
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
<P><I>Use, modification and distribution are subject to the Boost Software License,
|
||||||
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
Version 1.0. (See accompanying file <A href="../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A>
|
||||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||||
|
@ -1005,7 +1005,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_slow_dot_
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1057,7 +1057,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_fast_dot_
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1121,7 +1121,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_char_repe
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1185,7 +1185,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_short_set
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
@ -1250,7 +1250,7 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::unwind_long_set_
|
|||||||
{
|
{
|
||||||
// can't repeat any more, remove the pushed state:
|
// can't repeat any more, remove the pushed state:
|
||||||
destroy_single_repeat();
|
destroy_single_repeat();
|
||||||
if(rep->can_be_null & mask_skip)
|
if(0 == (rep->can_be_null & mask_skip))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if(count == rep->max)
|
else if(count == rep->max)
|
||||||
|
@ -877,6 +877,10 @@ a+(b+) "...aaabb,,,ab*abbb?" $1 "...bb,,,ab*abbb?"
|
|||||||
- match_default normal REG_EXTENDED REG_PERL
|
- match_default normal REG_EXTENDED REG_PERL
|
||||||
a** !
|
a** !
|
||||||
a*? aa 0 0
|
a*? aa 0 0
|
||||||
|
^a*?$ aa 0 2
|
||||||
|
^.*?$ aa 0 2
|
||||||
|
^(?:a)*?$ aa 0 2
|
||||||
|
^[ab]*?$ aa 0 2
|
||||||
a?? aa 0 0
|
a?? aa 0 0
|
||||||
a++ !
|
a++ !
|
||||||
a+? aa 0 1
|
a+? aa 0 1
|
||||||
|
Reference in New Issue
Block a user