std::regex_error (3) - Linux Manuals
std::regex_error: std::regex_error
NAME
std::regex_error - std::regex_error
Synopsis
Defined in header <regex>
class regex_error; (since C++11)
Defines the type of exception object thrown to report errors in the regular expressions library.
std-regex error-inheritance.svg
Inheritance diagram
Member functions
constructor (public member function)
code (public member function)
Inherited from std::exception
Member functions
destructor destroys the exception object
[virtual]
what returns an explanatory string
[virtual]
Example
// Run this code
Possible output: