version 1.1.1.1, 2012/02/21 23:05:52
|
version 1.1.1.3, 2013/07/22 08:25:57
|
Line 22 SYNOPSIS
|
Line 22 SYNOPSIS
|
<b>pcre_extra *pcre_study(const pcre *<i>code</i>, int <i>options</i>,</b> |
<b>pcre_extra *pcre_study(const pcre *<i>code</i>, int <i>options</i>,</b> |
<b>const char **<i>errptr</i>);</b> |
<b>const char **<i>errptr</i>);</b> |
</P> |
</P> |
|
<P> |
|
<b>pcre16_extra *pcre16_study(const pcre16 *<i>code</i>, int <i>options</i>,</b> |
|
<b>const char **<i>errptr</i>);</b> |
|
</P> |
|
<P> |
|
<b>pcre32_extra *pcre32_study(const pcre32 *<i>code</i>, int <i>options</i>,</b> |
|
<b>const char **<i>errptr</i>);</b> |
|
</P> |
<br><b> |
<br><b> |
DESCRIPTION |
DESCRIPTION |
</b><br> |
</b><br> |
Line 30 This function studies a compiled pattern, to see if ad
|
Line 38 This function studies a compiled pattern, to see if ad
|
be extracted that might speed up matching. Its arguments are: |
be extracted that might speed up matching. Its arguments are: |
<pre> |
<pre> |
<i>code</i> A compiled regular expression |
<i>code</i> A compiled regular expression |
<i>options</i> Options for <b>pcre_study()</b> | <i>options</i> Options for <b>pcre[16|32]_study()</b> |
<i>errptr</i> Where to put an error message |
<i>errptr</i> Where to put an error message |
</pre> |
</pre> |
If the function succeeds, it returns a value that can be passed to |
If the function succeeds, it returns a value that can be passed to |
<b>pcre_exec()</b> or <b>pcre_dfa_exec()</b> via their <i>extra</i> arguments. | <b>pcre[16|32]_exec()</b> or <b>pcre[16|32]_dfa_exec()</b> via their <i>extra</i> |
| arguments. |
</P> |
</P> |
<P> |
<P> |
If the function returns NULL, either it could not find any additional |
If the function returns NULL, either it could not find any additional |