std::regex_error::code

From cppreference.com
< cpp‎ | regex‎ | regex error
Regular expressions library
Classes
(C++11)
(C++11)
(C++11)
Algorithms
(C++11)
(C++11)
(C++11)
Iterators
(C++11)
Exceptions
(C++11)
Traits
(C++11)
Constants
(C++11)
(C++11)
Regex Grammar
Defined in header <regex>
(since C++11)

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

See also

(C++11)
describes different types of matching errors
(typedef)
constructs a regex_error object
(public member function)