forked from boostorg/regex
Misc. minor regex fixes
[SVN r8134]
This commit is contained in:
@ -1595,7 +1595,8 @@ structure, which contains information on what matched, and calls
|
||||
the predicate foo, passing the match_results<iterator,
|
||||
Allocator> as a single argument. If the predicate returns true,
|
||||
then the grep operation continues, otherwise it terminates
|
||||
without searching for further matches. </p>
|
||||
without searching for further matches. The function returns the
|
||||
number of matches found.</p>
|
||||
|
||||
<p>The general form of the predicate is: </p>
|
||||
|
||||
@ -1659,7 +1660,7 @@ void</b> IndexClasses(map_type& m, <b>const</b> std::string& file)
|
||||
std::string::const_iterator start, end;
|
||||
start = file.begin();
|
||||
end = file.end();
|
||||
regex_grep(IndexClassesPred(m, start), start, end, expression;
|
||||
regex_grep(IndexClassesPred(m, start), start, end, expression);
|
||||
} </pre>
|
||||
|
||||
<p><a href="demo/snippets/snip5.cpp">Example</a>: Use regex_grep
|
||||
|
Reference in New Issue
Block a user