This documentation is archived and is not being maintained.

regex Typedef

Type definition for char basic_regex.

typedef basic_regex<char> regex;

The type describes a specialization of template class basic_regex Class for elements of type char.


High-bit characters will have unpredictable results with regex. Values outside the range of 0 to 127 may result in undefined behavior.

Header: <regex>

Namespace: std