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

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

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

revision 579 by ph10, Wed Nov 24 17:39:25 2010 UTC revision 691 by ph10, Sun Sep 11 14:31:21 2011 UTC
# Line 58  though the details differ between the tw Line 58  though the details differ between the tw
58  are set, PCRE_PARTIAL_HARD takes precedence.  are set, PCRE_PARTIAL_HARD takes precedence.
59  </P>  </P>
60  <P>  <P>
61  Setting a partial matching option disables two of PCRE's optimizations. PCRE  Setting a partial matching option for <b>pcre_exec()</b> disables the use of any
62  remembers the last literal byte in a pattern, and abandons matching immediately  just-in-time code that was set up by calling <b>pcre_study()</b> with the
63  if such a byte is not present in the subject string. This optimization cannot  PCRE_STUDY_JIT_COMPILE option. It also disables two of PCRE's standard
64  be used for a subject string that might match only partially. If the pattern  optimizations. PCRE remembers the last literal byte in a pattern, and abandons
65  was studied, PCRE knows the minimum length of a matching string, and does not  matching immediately if such a byte is not present in the subject string. This
66  bother to run the matching function on shorter strings. This optimization is  optimization cannot be used for a subject string that might match only
67  also disabled for partial matching.  partially. If the pattern was studied, PCRE knows the minimum length of a
68    matching string, and does not bother to run the matching function on shorter
69    strings. This optimization is also disabled for partial matching.
70  </P>  </P>
71  <br><a name="SEC2" href="#TOC1">PARTIAL MATCHING USING pcre_exec()</a><br>  <br><a name="SEC2" href="#TOC1">PARTIAL MATCHING USING pcre_exec()</a><br>
72  <P>  <P>
# Line 434  Cambridge CB2 3QH, England. Line 436  Cambridge CB2 3QH, England.
436  </P>  </P>
437  <br><a name="SEC11" href="#TOC1">REVISION</a><br>  <br><a name="SEC11" href="#TOC1">REVISION</a><br>
438  <P>  <P>
439  Last updated: 07 November 2010  Last updated: 26 August 2011
440  <br>  <br>
441  Copyright &copy; 1997-2010 University of Cambridge.  Copyright &copy; 1997-2011 University of Cambridge.
442  <br>  <br>
443  <p>  <p>
444  Return to the <a href="index.html">PCRE index page</a>.  Return to the <a href="index.html">PCRE index page</a>.

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12