A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../named_req/../regex/regex_error.html below:

std::regex_error - cppreference.com

class regex_error;

(since C++11)

Defines the type of exception object thrown to report errors in the regular expressions library.

Inheritance diagram

[edit] Member functions Inherited from std::exception Member functions destroys the exception object
(virtual public member function of std::exception) [edit] returns an explanatory string
(virtual public member function of std::exception) [edit] [edit] Example

Possible output:

regex_error caught: The expression contained mismatched [ and ].
The code was error_brack

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4