Difference between revisions of "cpp/regex/sub match"
From cppreference.com
m (Text replace - " {{dcl list h1 | Non-member functions}}" to "{{dcl list end}} ===Non-member functions=== {{dcl list begin}}") |
(use correct template) |
||
Line 34: | Line 34: | ||
===Member functions=== | ===Member functions=== | ||
{{dcl list begin}} | {{dcl list begin}} | ||
− | {{dcl list mem | + | {{dcl list mem ctor | cpp/regex/sub_match/sub_match | constructs the match object}} |
{{dcl list h2 | Observers}} | {{dcl list h2 | Observers}} |
Revision as of 13:03, 23 August 2011
Template:cpp/regex/sub match/sidebar
Defined in header <regex>
|
||
template< class BidirectionalIterator |
Template:mark c++11 feature | |
The class template sub_match
is used by the regular expression engine to denote sequences of characters matched by marked sub-expressions.
This section is incomplete |
Inherits Template:cpp
Several specializations for common character sequence types are provided:
Template:tdcl list begin Template:tdcl list header Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end
Contents |
Member types
Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end
Member functions
constructs the match object (public member function) | |
Observers | |
returns the length of the match, if any (public member function) | |
cast to the underlying string type (public member function) | |
returns the matched subsequence (public member function) | |
compares matched subsequence (if any) (public member function) | |
Member objects | |
defines whether this match was successful (public member object) |
Non-member functions
This section is incomplete Reason: non-member functions |