C++ - <regex>
C++ <regex>
A regex object is designed to hold an array of values. It supports element-wise mathematical operations and various forms of generalized subscript operators, slicing and indirect access. Most of the mathematical operations can be directly applied to regex objects, including arithmetical and comparison operators, affecting all its elements.
Syntax
template <class T> class regex;
Parameters
T |
Type of the elements stored in the regex. |
Member Types
Member types | Definition |
---|---|
value_type | T (First template parameter) |
C++ <regex> - Member Functions
The C++ regex has a number of member functions which are listed below: