cpp/regex/regex error

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