9. pcre_free_substring_list prototype: # include <PCRE. h> void pcre_free_substring_list (const char ** stringptr); function: Release the memory space Parameter Applied by the consumer: stringptr pointing to the pointer of the string array
10. pcre_fullinfo prototype: # include <PCRE. h> int pcre_fullinfo (const PCRE * code, const pcre_extra * extra, int what, void * Where); function: return the information parameters of the compiled mode: return Value of the code-compiled mode extra pcre_study (), or null what information where storage location
11. pcre_get_named_substring prototype: # include <PCRE. h> int pcre_get_named_substring (const PCRE * code, const char * subject, int * ovector, int stringcount, const char * stringname, const char ** stringptr); function: obtain the captured string parameter by number: the offset vector stringcount pcre_exec () used by the ovector pcre_exec () string of the subject match pattern of successful code matching () return Value stringname capture string name stringptr stores the string pointer of the result
12. pcre_get_stringnumber prototype: # include <PCRE. h> int pcre_get_stringnumber (const PCRE * code, const char * Name); Function
13. pcre_get_substring prototype: # include <PCRE. h> int pcre_get_substring (const char * subject, int * ovector, int stringcount, int stringnumber, const char ** stringptr); function: Get the matching substring parameter: return Value of the Offset vector stringcount pcre_exec () of the string ovector pcre_exec () that the subject successfully matches returns the stringnumber stringptr string pointer.
Sword PCRE Library Function Learning 2