Regex()

Regex::Regex() constructor

Constructs empty regexp.

System::Text::RegularExpressions::Regex::Regex()

Regex::Regex(const String&) constructor

Constructor.

System::Text::RegularExpressions::Regex::Regex(const String &pattern)

Arguments

ParameterTypeDescription
patternconst String&C#-syntaxed pattern.

Regex::Regex(const String&, RegexOptions) constructor

Constructor.

System::Text::RegularExpressions::Regex::Regex(const String &pattern, RegexOptions options)

Arguments

ParameterTypeDescription
patternconst String&C#-syntaxed pattern.
optionsRegexOptionsRegex matching options.

Regex::Regex(const String&, RegexOptions, TimeSpan) constructor

Constructor.

System::Text::RegularExpressions::Regex::Regex(const String &pattern, RegexOptions options, TimeSpan matchTimeout)

Arguments

ParameterTypeDescription
patternconst String&C#-syntaxed pattern.
optionsRegexOptionsRegex matching options.
matchTimeoutTimeSpanTimeout to break matching.

See Also