function template · 7 overloads
std::regex_match
- Header
<regex>- Draft
- [re.alg.match]
- Scope
std- cppreference
- std::regex_match
Overloads
- (1)
template<class charT, class traits> bool regex_match( const charT* str, const basic_regex<charT, traits>& e, regex_constants::match_flag_type flags = regex_constants::match_default); - (2)
template<class ST, class SA, class charT, class traits> bool regex_match( const basic_string<charT, ST, SA>& s, const basic_regex<charT, traits>& e, regex_constants::match_flag_type flags = regex_constants::match_default); - (3)
template<class BidirectionalIterator, class charT, class traits> bool regex_match( BidirectionalIterator first, BidirectionalIterator last, const basic_regex<charT, traits>& e, regex_constants::match_flag_type flags = regex_constants::match_default); - (4)
template<class charT, class Allocator, class traits> bool regex_match( const charT* str, match_results<const charT*, Allocator>& m, const basic_regex<charT, traits>& e, regex_constants::match_flag_type flags = regex_constants::match_default); - (5)
template<class ST, class SA, class Allocator, class charT, class traits> bool regex_match( const basic_string<charT, ST, SA>& s, match_results<basic_string<charT, ST, SA>::const_iterator, Allocator>& m, const basic_regex<charT, traits>& e, regex_constants::match_flag_type flags = regex_constants::match_default); - (6)
template<class ST, class SA, class Allocator, class charT, class traits> bool regex_match( const basic_string<charT, ST, SA>&&, match_results<basic_string<charT, ST, SA>::const_iterator, Allocator>&, const basic_regex<charT, traits>&, regex_constants::match_flag_type = regex_constants::match_default) = delete; - (7)
template< class BidirectionalIterator, class Allocator, class charT, class traits> bool regex_match( BidirectionalIterator first, BidirectionalIterator last, match_results<BidirectionalIterator, Allocator>& m, const basic_regex<charT, traits>& e, regex_constants::match_flag_type flags = regex_constants::match_default);