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

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

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

revision 920 by ph10, Sat Jan 21 16:37:17 2012 UTC revision 921 by ph10, Sat Feb 18 18:45:55 2012 UTC
# Line 32  or not a partial match is preferred to a Line 32  or not a partial match is preferred to a
32  the details differ between the two types of matching function. If both options  the details differ between the two types of matching function. If both options
33  are set, PCRE_PARTIAL_HARD takes precedence.  are set, PCRE_PARTIAL_HARD takes precedence.
34  .P  .P
35  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
36  that was set up by studying the compiled pattern with the  call \fBpcre_study()\fP or \fBpcre16_study()\fP with one or both of these
37  PCRE_STUDY_JIT_COMPILE option. It also disables two of PCRE's standard  options:
38    .sp
39      PCRE_STUDY_JIT_PARTIAL_SOFT_COMPILE
40      PCRE_STUDY_JIT_PARTIAL_HARD_COMPILE
41    .sp
42    PCRE_STUDY_JIT_COMPILE should also be set if you are going to run non-partial
43    matches on the same pattern. If the appropriate JIT study mode has not been set
44    for a match, the interpretive matching code is used.
45    .P
46    Setting a partial matching option disables two of PCRE's standard
47  optimizations. PCRE remembers the last literal data unit in a pattern, and  optimizations. PCRE remembers the last literal data unit in a pattern, and
48  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
49  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 412  Cambridge CB2 3QH, England. Line 421  Cambridge CB2 3QH, England.
421  .rs  .rs
422  .sp  .sp
423  .nf  .nf
424  Last updated: 21 January 2012  Last updated: 18 February 2012
425  Copyright (c) 1997-2012 University of Cambridge.  Copyright (c) 1997-2012 University of Cambridge.
426  .fi  .fi

Legend:
Removed from v.920  
changed lines
  Added in v.921

  ViewVC Help
Powered by ViewVC 1.1.5