std::sub_match
std::sub_match
Defined in header <regex> | ||
---|---|---|
template< class BidirIt > class sub_match; | (since C++11) |
The class template sub_match
is used by the regular expression engine to denote sequences of characters matched by marked sub-expressions. A match is a [begin, end)
pair within the target range matched by the regular expression, but with additional observer functions to enhance code clarity.
Only the default constructor is publicly accessible. Instances of sub_match
are normally constructed and populated as a part of