System::Text::RegularExpressions::Regex::Regex constructor

Regex::Regex() constructor

Constructs empty regexp.

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

See Also

Regex::Regex(const String&) constructor

Constructor.

System::Text::RegularExpressions::Regex::Regex(const String &pattern)
ParameterTypeDescription
patternconst String&C#-syntaxed pattern.

See Also

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

Constructor.

System::Text::RegularExpressions::Regex::Regex(const String &pattern, RegexOptions options)
ParameterTypeDescription
patternconst String&C#-syntaxed pattern.
optionsRegexOptionsRegex matching options.

See Also

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

Constructor.

System::Text::RegularExpressions::Regex::Regex(const String &pattern, RegexOptions options, TimeSpan matchTimeout)
ParameterTypeDescription
patternconst String&C#-syntaxed pattern.
optionsRegexOptionsRegex matching options.
matchTimeoutTimeSpanTimeout to break matching.

See Also