31 namespace std _GLIBCXX_VISIBILITY(default)
33 _GLIBCXX_BEGIN_NAMESPACE_VERSION
35 template<
typename _BiIter>
38 template<
typename _Bi_iter,
typename _Allocator>
41 _GLIBCXX_END_NAMESPACE_VERSION
45 _GLIBCXX_BEGIN_NAMESPACE_VERSION
54 template<
typename _FwdIterT,
typename _Alloc>
67 _M_set_matched(
int __i,
bool __is_matched)
68 { _M_results.
at(__i).matched = __is_matched; }
74 template<
typename _FwdIterT,
typename _Alloc>
85 __sm.first = __sm.second = __cursor._M_begin();
87 __sm.first = __sm.second = __cursor._M_end();
91 template<
typename _FwdIterT,
typename _Alloc>
93 _SpecializedResults<_FwdIterT, _Alloc>::
94 _M_set_pos(
int __i,
int __j,
const _PatternCursor& __pc)
96 typedef const _SpecializedCursor<_FwdIterT>& _CursorT;
97 _CursorT __c =
static_cast<_CursorT
>(__pc);
99 _M_results.at(__i).first = __c._M_pos();
101 _M_results.at(__i).second = __c._M_pos()+1;
126 _M_e_closure(_StateStack& __stack,
const _StateSet& __s);
134 _GLIBCXX_END_NAMESPACE_VERSION
138 #include <bits/regex_grep_matcher.tcc>
void resize(size_type __new_size)
Resizes the vector to the specified number of elements.
void push_back(const value_type &__x)
Add data to the end of the vector.
ABC for pattern matching.
Provides a generic facade for a templated match_results.
A _Results facade specialized for wrapping a templated match_results.
ISO C++ entities toplevel namespace is std.
reference at(size_type __n)
Provides access to the data contained in the vector.
void reserve(size_type __n)
Attempt to preallocate enough memory for specified number of elements.
std::stack< _StateIdT, std::vector< _StateIdT > > _StateStack
A stack of states used in evaluating the NFA.
std::bitset< _S_match_flag_last > match_flag_type
This is a bitmask type indicating regex matching rules.
Executes a regular expression NFA/DFA over a range using a variant of the parallel execution algorith...
Provides a cursor into the specific target string.
A standard container giving FILO behavior.
int _StateIdT
Identifies a state in the NFA.