forked from boostorg/regex
Almost ready to merge with main branch now,
These are mostly updates to the docs, with some compiler fixes and general warning suppressions. [SVN r26648]
This commit is contained in:
1 parent
436ecdf654
commit
2d27c152c2
108 files changed
+8075
-2431
No files matched your search
+34
-9
@@ -62,12 +62,23 @@ public:
|
||||
regex_iterator <A href="#o7">operator</A>++(int);
|
||||
};
|
||||
|
||||
typedef regex_iterator<const char*> cregex_iterator;
|
||||
typedef regex_iterator<std::string::const_iterator> sregex_iterator;
|
||||
#ifndef BOOST_NO_WREGEX
|
||||
typedef regex_iterator<const wchar_t*> wcregex_iterator;
|
||||
typedef regex_iterator<std::wstring::const_iterator> wsregex_iterator;
|
||||
#endif
|
||||
typedef
|
||||
regex_iterator<const
|
||||
|
||||
char*> cregex_iterator; typedef regex_iterator<std::string::const_iterator>
|
||||
sregex_iterator; #ifndef BOOST_NO_WREGEX
|
||||
typedef regex_iterator<const
|
||||
wchar_t*> wcregex_iterator; typedef regex_iterator<std::wstring::const_iterator>
|
||||
wsregex_iterator; #endif template
|
||||
<class
|
||||
|
||||
charT, class traits> regex_iterator<const charT*,
|
||||
charT, traits>
|
||||
<A href="#make_regex_iterator">make_regex_iterator</A>(const charT* p, const basic_regex<charT, traits>& e, regex_constants::match_flag_type m = regex_constants::match_default); template <class
|
||||
|
||||
charT, class traits, class ST, class SA> regex_iterator<typename std::basic_string<charT,
|
||||
ST, SA>::const_iterator, charT, traits>
|
||||
<A href="#make_regex_iterator">make_regex_iterator</A>(const std::basic_string<charT, ST, SA>& p, const basic_regex<charT, traits>& e, regex_constants::match_flag_type m = regex_constants::match_default);
|
||||
|
||||
</pre>
|
||||
<h3><a name="description"></a>Description</h3>
|
||||
@@ -299,6 +310,20 @@ regex_iterator operator++(int);
|
||||
then calls <code>++(*this)</code>.</p>
|
||||
<b></b>
|
||||
<p><b>Returns:</b> <code>result</code>.</p>
|
||||
<PRE><A name=make_regex_iterator></A>template <class charT, class traits> regex_iterator<const charT*, charT, traits>
|
||||
make_regex_iterator(const charT*
|
||||
p, const basic_regex<charT,
|
||||
traits>& e, regex_constants::match_flag_type m
|
||||
= regex_constants::match_default); template <class
|
||||
|
||||
charT, class traits, class ST, class SA> regex_iterator<typename std::basic_string<charT,
|
||||
ST, SA>::const_iterator, charT, traits>
|
||||
make_regex_iterator(const std::basic_string<charT, ST, SA>& p,
|
||||
const basic_regex<charT, traits>& e,
|
||||
regex_constants::match_flag_type m = regex_constants::match_default);
|
||||
</PRE>
|
||||
<P><STRONG>Effects:</STRONG> returns an iterator that enumerates all occurences of
|
||||
expression <EM>e</EM> in text <EM>p</EM> using match_flags <EM>m</EM>.</P>
|
||||
<h3>Examples</h3>
|
||||
<p>The following <a href="../example/snippets/regex_iterator_example.cpp">example</a>
|
||||
takes a C++ source file and builds up an index of class names, and the location
|
||||
@@ -418,12 +443,12 @@ color=
|
||||
}
|
||||
</pre>
|
||||
<hr>
|
||||
<p>Revised
|
||||
<p>Revised
|
||||
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
||||
26 June 2004
|
||||
06 Jan 05
|
||||
<!--webbot bot="Timestamp" endspan i-checksum="39359" --></p>
|
||||
<p><i>© 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 --> 2005<!--webbot bot="Timestamp" endspan i-checksum="39359" --></i></p>
|
||||
<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>
|
||||
or copy at <A href="http://www.boost.org/LICENSE_1_0.txt">http://www.boost.org/LICENSE_1_0.txt</A>)</I></P>
|
||||
|
||||
Reference in new issue
Block a user