std::match_results::length
From Cppreference
< cpp | regex | match results
difference_type length( size_type sub = 0 ) const;
|
(C++11 feature) | |
[edit] Parameters
sub | - | Indicates the sub_match. |
[edit] Return value
Returns the number of characters in the indicated match if the match is valid, 0 otherwise.
[edit] See also
cpp/regex/sub_match/length |