std::sub_match<BidirIt>::length
difference_type length() const; |
Параметры
(нет)
Значение возврата
Возвращает количество символов в совпадении, т.е. std::distance(first, second) если совпадение успешно, 0 в противном случае.
Сложность
Постоянная.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/regex/sub_match/length