--- embedaddon/pcre/doc/html/pcre_exec.html 2012/02/21 23:50:25 1.1.1.2 +++ embedaddon/pcre/doc/html/pcre_exec.html 2014/06/15 19:46:05 1.1.1.4 @@ -20,13 +20,18 @@ SYNOPSIS
int pcre_exec(const pcre *code, const pcre_extra *extra, -const char *subject, int length, int startoffset, -int options, int *ovector, int ovecsize); -
-
+ 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);
+ 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[16]_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 @@ -66,6 +72,9 @@ The options are: 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) @@ -79,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[16]_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