/[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 929 by ph10, Sat Jan 21 16:37:17 2012 UTC revision 930 by ph10, Fri Feb 24 12:05:54 2012 UTC
# Line 58  the details differ between the two types Line 58  the details differ between the two types
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 the use of any just-in-time code  If you want to use partial matching with just-in-time optimized code, you must
62  that was set up by studying the compiled pattern with the  call <b>pcre_study()</b> or <b>pcre16_study()</b> with one or both of these
63  PCRE_STUDY_JIT_COMPILE option. It also disables two of PCRE's standard  options:
64    <pre>
65      PCRE_STUDY_JIT_PARTIAL_SOFT_COMPILE
66      PCRE_STUDY_JIT_PARTIAL_HARD_COMPILE
67    </pre>
68    PCRE_STUDY_JIT_COMPILE should also be set if you are going to run non-partial
69    matches on the same pattern. If the appropriate JIT study mode has not been set
70    for a match, the interpretive matching code is used.
71    </P>
72    <P>
73    Setting a partial matching option disables two of PCRE's standard
74  optimizations. PCRE remembers the last literal data unit in a pattern, and  optimizations. PCRE remembers the last literal data unit in a pattern, and
75  abandons matching immediately if it is not present in the subject string. This  abandons matching immediately if it is not present in the subject string. This
76  optimization cannot be used for a subject string that might match only  optimization cannot be used for a subject string that might match only
# Line 435  Cambridge CB2 3QH, England. Line 445  Cambridge CB2 3QH, England.
445  </P>  </P>
446  <br><a name="SEC11" href="#TOC1">REVISION</a><br>  <br><a name="SEC11" href="#TOC1">REVISION</a><br>
447  <P>  <P>
448  Last updated: 21 January 2012  Last updated: 18 February 2012
449  <br>  <br>
450  Copyright &copy; 1997-2012 University of Cambridge.  Copyright &copy; 1997-2012 University of Cambridge.
451  <br>  <br>

Legend:
Removed from v.929  
changed lines
  Added in v.930

  ViewVC Help
Powered by ViewVC 1.1.5