匹配的开始位置 options 选项位 ovector 指向一个结果的整型数组 ovecsize 数组大小 8. pcre_free_substring 原型: #include
void pcre_free_substring(const char *stringptr); 功能:释放pcre_get_substring()和pcre_get_named_substring()申请的内存空间。 参数: stringptr 指向字符串的指针 示例: Line2730 const char *substring; int rc = pcre_get_substring((char *)bptr, use_offsets, count, i, &substring); …… pcre_free_substring(substring);
|