std::regex_error::code - cppreference.com
Namespaces
Variants

std::regex_error::code

From cppreference.com
 
 
 
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
 
 
Defined in header <regex>
std::regex_constants::error_type code() const;
(since C++11)

Returns the std::regex_constants::error_type that was passed to the std::regex_error constructor.

See also