Sword PCRE Library Function Learning 2

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.