version 1.1.1.1, 2012/02/21 23:05:52
|
version 1.1.1.2, 2012/02/21 23:50:25
|
Line 24 SYNOPSIS
|
Line 24 SYNOPSIS
|
<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> |
<b>int *<i>workspace</i>, int <i>wscount</i>);</b> |
<b>int *<i>workspace</i>, int <i>wscount</i>);</b> |
</P> |
</P> |
|
<P> |
|
<b>int pcre16_dfa_exec(const pcre16 *<i>code</i>, const pcre16_extra *<i>extra</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>workspace</i>, int <i>wscount</i>);</b> |
|
</P> |
<br><b> |
<br><b> |
DESCRIPTION |
DESCRIPTION |
</b><br> |
</b><br> |
Line 31 DESCRIPTION
|
Line 37 DESCRIPTION
|
This function matches a compiled regular expression against a given subject |
This function matches a compiled regular expression against a given subject |
string, using an alternative matching algorithm that scans the subject string |
string, using an alternative matching algorithm that scans the subject string |
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, |
matching function is <b>pcre_exec()</b>. The arguments for this function are: | matching function is <b>pcre[16]_exec()</b>. The arguments for this function |
| 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_extra</b> structure, | <i>extra</i> Points to an associated <b>pcre[16]_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, in bytes |
Line 62 The options are:
|
Line 69 The options are:
|
PCRE_NOTEMPTY_ATSTART An empty string at the start of the subject |
PCRE_NOTEMPTY_ATSTART An empty string at the start of the subject |
is not a valid match |
is not a valid match |
PCRE_NO_START_OPTIMIZE Do not do "start-match" optimizations |
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_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 80 documentation. For details of partial matching, see th
|
Line 90 documentation. For details of partial matching, see th
|
page. |
page. |
</P> |
</P> |
<P> |
<P> |
A <b>pcre_extra</b> structure contains the following fields: | A <b>pcre[16]_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_study()</b> | <i>study_data</i> Opaque data from <b>pcre[16]_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 |