--- embedaddon/pcre/doc/html/pcre_exec.html 2012/02/21 23:05:52 1.1.1.1 +++ embedaddon/pcre/doc/html/pcre_exec.html 2013/07/22 08:25:57 1.1.1.3 @@ -23,6 +23,16 @@ SYNOPSIS const char *subject, int length, int startoffset, int options, int *ovector, int ovecsize);
++int pcre16_exec(const pcre16 *code, const pcre16_extra *extra, +PCRE_SPTR16 subject, int length, int startoffset, +int options, int *ovector, int ovecsize); +
++int pcre32_exec(const pcre32 *code, const pcre32_extra *extra, +PCRE_SPTR32 subject, int length, int startoffset, +int options, int *ovector, int ovecsize); +
code Points to the compiled pattern - extra Points to an associated pcre_extra structure, + extra Points to an associated pcre[16|32]_extra structure, or is NULL subject Points to the subject string - length Length of the subject string, in bytes - startoffset Offset in bytes in the subject at which to - start matching + length Length of the subject string + startoffset Offset in the subject at which to start matching options Option bits ovector Points to a vector of ints for result offsets ovecsize Number of elements in the vector (a multiple of 3)-The options are: +The units for length and startoffset are bytes for +pcre_exec(), 16-bit data items for pcre16_exec(), and 32-bit items +for pcre32_exec(). The options are:
PCRE_ANCHORED Match only at the first position PCRE_BSR_ANYCRLF \R matches only CR, LF, or CRLF @@ -58,6 +69,12 @@ The options are: PCRE_NOTEMPTY_ATSTART An empty string at the start of the subject is not a valid match PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations + PCRE_NO_UTF16_CHECK Do not check the subject for UTF-16 + validity (only relevant if PCRE_UTF16 + was set at compile time) + PCRE_NO_UTF32_CHECK Do not check the subject for UTF-32 + validity (only relevant if PCRE_UTF32 + was set at compile time) PCRE_NO_UTF8_CHECK Do not check the subject for UTF-8 validity (only relevant if PCRE_UTF8 was set at compile time) @@ -71,7 +88,7 @@ For details of partial matching, see the page. A pcre_extra structure contains the following fields:flags Bits indicating which fields are set - study_data Opaque data from pcre_study() + study_data Opaque data from pcre[16|32]_study() match_limit Limit on internal resource use match_limit_recursion Limit on internal recursion depth callout_data Opaque data passed back to callouts