/[pcre]/code/trunk/doc/html/pcre_exec.html
ViewVC logotype

Diff of /code/trunk/doc/html/pcre_exec.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC revision 869 by ph10, Sat Jan 14 11:16:23 2012 UTC
# Line 23  SYNOPSIS Line 23  SYNOPSIS
23  <b>const char *<i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>  <b>const char *<i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
24  <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>
25  </P>  </P>
26    <P>
27    <b>int pcre16_exec(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</i>,</b>
28    <b>PCRE_SPTR16 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
29    <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>);</b>
30    </P>
31  <br><b>  <br><b>
32  DESCRIPTION  DESCRIPTION
33  </b><br>  </b><br>
# Line 32  string, using a matching algorithm that Line 37  string, using a matching algorithm that
37  offsets to captured substrings. Its arguments are:  offsets to captured substrings. Its arguments are:
38  <pre>  <pre>
39    <i>code</i>         Points to the compiled pattern    <i>code</i>         Points to the compiled pattern
40    <i>extra</i>        Points to an associated <b>pcre_extra</b> structure,    <i>extra</i>        Points to an associated <b>pcre[16]_extra</b> structure,
41                   or is NULL                   or is NULL
42    <i>subject</i>      Points to the subject string    <i>subject</i>      Points to the subject string
43    <i>length</i>       Length of the subject string, in bytes    <i>length</i>       Length of the subject string, in bytes
# Line 58  The options are: Line 63  The options are:
63    PCRE_NOTEMPTY_ATSTART  An empty string at the start of the subject    PCRE_NOTEMPTY_ATSTART  An empty string at the start of the subject
64                             is not a valid match                             is not a valid match
65    PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations    PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations
66      PCRE_NO_UTF16_CHECK    Do not check the subject for UTF-16
67                               validity (only relevant if PCRE_UTF16
68                               was set at compile time)
69    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8
70                             validity (only relevant if PCRE_UTF8                             validity (only relevant if PCRE_UTF8
71                             was set at compile time)                             was set at compile time)
# Line 71  For details of partial matching, see the Line 79  For details of partial matching, see the
79  page. A <b>pcre_extra</b> structure contains the following fields:  page. A <b>pcre_extra</b> structure contains the following fields:
80  <pre>  <pre>
81    <i>flags</i>            Bits indicating which fields are set    <i>flags</i>            Bits indicating which fields are set
82    <i>study_data</i>       Opaque data from <b>pcre_study()</b>    <i>study_data</i>       Opaque data from <b>pcre[16]_study()</b>
83    <i>match_limit</i>      Limit on internal resource use    <i>match_limit</i>      Limit on internal resource use
84    <i>match_limit_recursion</i>  Limit on internal recursion depth    <i>match_limit_recursion</i>  Limit on internal recursion depth
85    <i>callout_data</i>     Opaque data passed back to callouts    <i>callout_data</i>     Opaque data passed back to callouts

Legend:
Removed from v.691  
changed lines
  Added in v.869

  ViewVC Help
Powered by ViewVC 1.1.5