GEOSX
Public Member Functions | Public Attributes | List of all members
geos::Regex Struct Reference

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Regex()

geos::Regex::Regex ( string_view  regexStr,
string_view  formatDescription 
)
Parameters
regexStrthe regex string for validation (eg. "[\\d]+")
formatDescriptionthe description of the expected format to be validated (eg. "Input value must be an integer.").

The documentation for this struct was generated from the following file: