Diff for /embedaddon/pcre/doc/html/pcre_exec.html between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/02/21 23:50:25 version 1.1.1.3, 2013/07/22 08:25:57
Line 28  SYNOPSIS Line 28  SYNOPSIS
 <b>PCRE_SPTR16 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>  <b>PCRE_SPTR16 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
 <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>);</b>  <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>);</b>
 </P>  </P>
   <P>
   <b>int pcre32_exec(const pcre32 *<i>code</i>, const pcre32_extra *<i>extra</i>,</b>
   <b>PCRE_SPTR32 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
   <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>);</b>
   </P>
 <br><b>  <br><b>
 DESCRIPTION  DESCRIPTION
 </b><br>  </b><br>
Line 37  string, using a matching algorithm that is similar to  Line 42  string, using a matching algorithm that is similar to 
 offsets to captured substrings. Its arguments are:  offsets to captured substrings. Its arguments are:
 <pre>  <pre>
   <i>code</i>         Points to the compiled pattern    <i>code</i>         Points to the compiled pattern
  <i>extra</i>        Points to an associated <b>pcre[16]_extra</b> structure,  <i>extra</i>        Points to an associated <b>pcre[16|32]_extra</b> structure,
                  or is NULL                   or is NULL
   <i>subject</i>      Points to the subject string    <i>subject</i>      Points to the subject string
  <i>length</i>       Length of the subject string, in bytes  <i>length</i>       Length of the subject string
  <i>startoffset</i>  Offset in bytes in the subject at which to  <i>startoffset</i>  Offset in the subject at which to start matching
                 start matching 
   <i>options</i>      Option bits    <i>options</i>      Option bits
   <i>ovector</i>      Points to a vector of ints for result offsets    <i>ovector</i>      Points to a vector of ints for result offsets
   <i>ovecsize</i>     Number of elements in the vector (a multiple of 3)    <i>ovecsize</i>     Number of elements in the vector (a multiple of 3)
 </pre>  </pre>
The options are:The units for <i>length</i> and <i>startoffset</i> are bytes for
 <b>pcre_exec()</b>, 16-bit data items for <b>pcre16_exec()</b>, and 32-bit items
 for <b>pcre32_exec()</b>. The options are:
 <pre>  <pre>
   PCRE_ANCHORED          Match only at the first position    PCRE_ANCHORED          Match only at the first position
   PCRE_BSR_ANYCRLF       \R matches only CR, LF, or CRLF    PCRE_BSR_ANYCRLF       \R matches only CR, LF, or CRLF
Line 66  The options are: Line 72  The options are:
   PCRE_NO_UTF16_CHECK    Do not check the subject for UTF-16    PCRE_NO_UTF16_CHECK    Do not check the subject for UTF-16
                            validity (only relevant if PCRE_UTF16                             validity (only relevant if PCRE_UTF16
                            was set at compile time)                             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    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8
                            validity (only relevant if PCRE_UTF8                             validity (only relevant if PCRE_UTF8
                            was set at compile time)                             was set at compile time)
Line 79  For details of partial matching, see the Line 88  For details of partial matching, see the
 page. A <b>pcre_extra</b> structure contains the following fields:  page. A <b>pcre_extra</b> structure contains the following fields:
 <pre>  <pre>
   <i>flags</i>            Bits indicating which fields are set    <i>flags</i>            Bits indicating which fields are set
  <i>study_data</i>       Opaque data from <b>pcre[16]_study()</b>  <i>study_data</i>       Opaque data from <b>pcre[16|32]_study()</b>
   <i>match_limit</i>      Limit on internal resource use    <i>match_limit</i>      Limit on internal resource use
   <i>match_limit_recursion</i>  Limit on internal recursion depth    <i>match_limit_recursion</i>  Limit on internal recursion depth
   <i>callout_data</i>     Opaque data passed back to callouts    <i>callout_data</i>     Opaque data passed back to callouts

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>