Name
afc_regexp_set_expression -- Compiles the Regular Expression for the matches
Synopsis
int afc_regexp_set_expression
( RegExp * regexp, char * str, short extended, short nocase);
Description
This function prepares the Regular Expression for the next afc_regexp_match() calls.
Inputs
- regexp
Pointer to a valid afc_regexp class.
- exp
The Regular Expression to compile
- extended
If TRUE, the Regular Expression provided will be considered an *extended* RE and not
a standard one.
- nocase
If TRUE, the RE will be case insensitive (eg. [a-z] will match both [A-Z] and [a-z])
Result
should be AFC_ERR_NO_ERROR