GEOSX
|
The regular expression data for validating inputs. Use rtTypes to get the regex of a type, and TypeRegex< T > to define a type regex. More...
#include <DataTypes.hpp>
Public Member Functions | |
Regex () | |
Default constructor. | |
Regex (string_view regexStr, string_view formatDescription) | |
Public Attributes | |
string | m_regexStr |
the regular expression string. | |
string | m_formatDescription |
the description of the expected format of the regular expression. | |
The regular expression data for validating inputs. Use rtTypes to get the regex of a type, and TypeRegex< T > to define a type regex.
Definition at line 512 of file DataTypes.hpp.
geos::Regex::Regex | ( | string_view | regexStr, |
string_view | formatDescription | ||
) |
regexStr | the regex string for validation (eg. "[\\d]+") |
formatDescription | the description of the expected format to be validated (eg. "Input value must be an integer."). |