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

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

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

revision 1193 by ph10, Sat Jan 14 11:16:23 2012 UTC revision 1194 by ph10, Wed Oct 31 17:42:29 2012 UTC
# Line 30  SYNOPSIS Line 30  SYNOPSIS
30  <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>
31  <b>int *<i>workspace</i>, int <i>wscount</i>);</b>  <b>int *<i>workspace</i>, int <i>wscount</i>);</b>
32  </P>  </P>
33    <P>
34    <b>int pcre32_dfa_exec(const pcre32 *<i>code</i>, const pcre32_extra *<i>extra</i>,</b>
35    <b>PCRE_SPTR32 <i>subject</i>, int <i>length</i>, int <i>startoffset</i>,</b>
36    <b>int <i>options</i>, int *<i>ovector</i>, int <i>ovecsize</i>,</b>
37    <b>int *<i>workspace</i>, int <i>wscount</i>);</b>
38    </P>
39  <br><b>  <br><b>
40  DESCRIPTION  DESCRIPTION
41  </b><br>  </b><br>
# Line 37  DESCRIPTION Line 43  DESCRIPTION
43  This function matches a compiled regular expression against a given subject  This function matches a compiled regular expression against a given subject
44  string, using an alternative matching algorithm that scans the subject string  string, using an alternative matching algorithm that scans the subject string
45  just once (<i>not</i> Perl-compatible). Note that the main, Perl-compatible,  just once (<i>not</i> Perl-compatible). Note that the main, Perl-compatible,
46  matching function is <b>pcre[16]_exec()</b>. The arguments for this function  matching function is <b>pcre[16|32]_exec()</b>. The arguments for this function
47  are:  are:
48  <pre>  <pre>
49    <i>code</i>         Points to the compiled pattern    <i>code</i>         Points to the compiled pattern
50    <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,
51                   or is NULL                   or is NULL
52    <i>subject</i>      Points to the subject string    <i>subject</i>      Points to the subject string
53    <i>length</i>       Length of the subject string, in bytes    <i>length</i>       Length of the subject string, in bytes
# Line 72  The options are: Line 78  The options are:
78    PCRE_NO_UTF16_CHECK    Do not check the subject for UTF-16    PCRE_NO_UTF16_CHECK    Do not check the subject for UTF-16
79                             validity (only relevant if PCRE_UTF16                             validity (only relevant if PCRE_UTF16
80                             was set at compile time)                             was set at compile time)
81      PCRE_NO_UTF32_CHECK    Do not check the subject for UTF-32
82                               validity (only relevant if PCRE_UTF32
83                               was set at compile time)
84    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8    PCRE_NO_UTF8_CHECK     Do not check the subject for UTF-8
85                             validity (only relevant if PCRE_UTF8                             validity (only relevant if PCRE_UTF8
86                             was set at compile time)                             was set at compile time)
# Line 90  documentation. For details of partial ma Line 99  documentation. For details of partial ma
99  page.  page.
100  </P>  </P>
101  <P>  <P>
102  A <b>pcre[16]_extra</b> structure contains the following fields:  A <b>pcre[16|32]_extra</b> structure contains the following fields:
103  <pre>  <pre>
104    <i>flags</i>            Bits indicating which fields are set    <i>flags</i>            Bits indicating which fields are set
105    <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>
106    <i>match_limit</i>      Limit on internal resource use    <i>match_limit</i>      Limit on internal resource use
107    <i>match_limit_recursion</i>  Limit on internal recursion depth    <i>match_limit_recursion</i>  Limit on internal recursion depth
108    <i>callout_data</i>     Opaque data passed back to callouts    <i>callout_data</i>     Opaque data passed back to callouts

Legend:
Removed from v.1193  
changed lines
  Added in v.1194

  ViewVC Help
Powered by ViewVC 1.1.5