Regex

Last Updated2015-08-12
Created At2014-10-30

Compile a regular expression.

native Regex Regex(const char[] pattern, int flags = 0, char[] error = "", int maxLen = 0, RegexError& errcode = REGEX_ERROR_NONE)

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

Regex