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.
Regex CompileRegex(const char[] pattern, int flags, char[] error, int maxLen, RegexError& errcode)
The regular expression pattern.
General flags for the regular expression.
Error message encountered, if applicable.
Maximum string length of the error buffer.
Regex type error code encountered, if applicable.
Valid regex handle on success, INVALID_HANDLE on failure.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.