std::basic_regex::mark_count

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部