afc_regexp_get_sub_string

Name

afc_regexp_get_sub_string  -- 

Synopsis

int afc_regexp_sub_string ( RegExp * regexp, char * dest, int pos );

Description

This function returns the relative coordinates (start/end) of the particular sub string match.

Inputs

regexp

Pointer to a valid afc_regexp class.

dest

Destination string. It *MUST* be an AFC afc_string_new.

pos

The substring ordinal position you want to know the coords of.

Result

should be AFC_ERR_NO_ERROR

Note

See Also