Regex.Regex Method

Compile a regular expression.

Regex Regex(const char[] pattern, int flags, char[] error, int maxLen, RegexError& errcode)

Parameters

const char[] pattern

The regular expression pattern.

int flags

General flags for the regular expression.

char[] error

Error message encountered, if applicable.

int maxLen

Maximum string length of the error buffer.

RegexError& errcode

Regex type error code encountered, if applicable.

Return Value

No description.