Precompile a regular expression. Use this if you intend on using the same expression multiple times. Pass the regex handle returned here to MatchRegex to check for matches.
native Regex CompileRegex(const char[] pattern, int flags = 0, char[] error = "", int maxLen = 0, RegexError& errcode = REGEX_ERROR_NONE)