60 |
indicates how the pattern is matched. This is useful information when you are |
indicates how the pattern is matched. This is useful information when you are |
61 |
trying to optimize the performance of a particular pattern. |
trying to optimize the performance of a particular pattern. |
62 |
</P> |
</P> |
63 |
|
<P> |
64 |
|
The use of callouts in a pattern makes it ineligible for optimization by the |
65 |
|
just-in-time compiler. Studying such a pattern with the PCRE_STUDY_JIT_COMPILE |
66 |
|
option always fails. |
67 |
|
</P> |
68 |
<br><a name="SEC2" href="#TOC1">MISSING CALLOUTS</a><br> |
<br><a name="SEC2" href="#TOC1">MISSING CALLOUTS</a><br> |
69 |
<P> |
<P> |
70 |
You should be aware that, because of optimizations in the way PCRE matches |
You should be aware that, because of optimizations in the way PCRE matches |
189 |
<P> |
<P> |
190 |
The <i>mark</i> field is present from version 2 of the <i>pcre_callout</i> |
The <i>mark</i> field is present from version 2 of the <i>pcre_callout</i> |
191 |
structure. In callouts from <b>pcre_exec()</b> it contains a pointer to the |
structure. In callouts from <b>pcre_exec()</b> it contains a pointer to the |
192 |
zero-terminated name of the most recently passed (*MARK) item in the match, or |
zero-terminated name of the most recently passed (*MARK), (*PRUNE), or (*THEN) |
193 |
NULL if there are no (*MARK)s in the current matching path. In callouts from |
item in the match, or NULL if no such items have been passed. Instances of |
194 |
<b>pcre_dfa_exec()</b> this field always contains NULL. |
(*PRUNE) or (*THEN) without a name do not obliterate a previous (*MARK). In |
195 |
|
callouts from <b>pcre_dfa_exec()</b> this field always contains NULL. |
196 |
</P> |
</P> |
197 |
<br><a name="SEC4" href="#TOC1">RETURN VALUES</a><br> |
<br><a name="SEC4" href="#TOC1">RETURN VALUES</a><br> |
198 |
<P> |
<P> |
220 |
</P> |
</P> |
221 |
<br><a name="SEC6" href="#TOC1">REVISION</a><br> |
<br><a name="SEC6" href="#TOC1">REVISION</a><br> |
222 |
<P> |
<P> |
223 |
Last updated: 31 July 2011 |
Last updated: 30 November 2011 |
224 |
<br> |
<br> |
225 |
Copyright © 1997-2011 University of Cambridge. |
Copyright © 1997-2011 University of Cambridge. |
226 |
<br> |
<br> |