Matches a string against a regular expression pattern.
int SimpleRegexMatch(const char str, const char pattern, int flags, char error, int maxLen)
The string to check.
The regular expression pattern.
General flags for the regular expression.
Error message, if applicable.
Maximum length of the error buffer.
Number of substrings found or -1 on failure.
If you intend on using the same regular expression pattern multiple times, consider using CompileRegex and MatchRegex instead of making this function reparse the expression each time.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.