afc_regexp_set_storage_size

Name

afc_regexp_set_storage_size  -- Sets the maximum amount of results for match

Synopsis

int afc_regexp_set_storage_size ( RegExp * regexp, int size);

Description

When performing a regular expression, using afc_regexp_match() it is possible to know the relative addressing information of the matches. With this function you can define how many couples of from/to addressing coordinates have to be saved during matching.

Inputs

regexp

Pointer to a valid afc_regexp class.

size

The amount of couples of from/to addressing info to save.

Result

should be AFC_ERR_NO_ERROR

See Also