table of contents
PCRE_GET_SUBSTRING_LIST(3) | Library Functions Manual | PCRE_GET_SUBSTRING_LIST(3) |
NAME¶
PCRE - Perl-compatible regular expressionsSYNOPSIS¶
#include <pcre.h> int pcre_get_substring_list(const char *subject, int *ovector, int stringcount, const char ***listptr); int pcre16_get_substring_list(PCRE_SPTR16 subject, int *ovector, int stringcount, PCRE_SPTR16 **listptr);DESCRIPTION¶
This is a convenience function for extracting a list of all the captured substrings. The arguments are:subject Subject that has been successfully matched
ovector Offset vector that pcre[16]_exec used
stringcount Value returned by pcre[16]_exec
listptr Where to put a pointer to the list