W3cubDocs

/C++

std::basic_regex::mark_count

unsigned mark_count() const;
(since C++11)

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

Parameters

(none).

Return value

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

Exceptions

(none).

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/regex/basic_regex/mark_count