std::basic_regex::mark_count

From cppreference.com
< cpp‎ | regex‎ | basic regex
unsigned mark_count() const;
(since C++11)

Returns the number of marked sub-expressions within the regular expression.

Contents

[edit] Parameters

(none)

[edit] Return value

The number of marked sub-expressions within the regular expression.

[edit] Exceptions

(none)

[edit] Example