libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ mark_count()

template<typename _Ch_type, typename _Rx_traits = regex_traits<_Ch_type>>
unsigned int std::basic_regex< _Ch_type, _Rx_traits >::mark_count ( ) const
inlinenoexcept

Gets the number of marked subexpressions within the regular expression.

Definition at line 767 of file regex.h.

768 {
769 if (_M_automaton)
770 return _M_automaton->_M_sub_count() - 1;
771 return 0;
772 }
A regular expression.
Definition regex.h:441