/[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 579 by ph10, Wed Nov 24 17:39:25 2010 UTC revision 678 by ph10, Sun Aug 28 15:23:03 2011 UTC
# Line 32  whether or not a partial match is prefer Line 32  whether or not a partial match is prefer
32  though the details differ between the two matching functions. If both options  though the details differ between the two matching functions. 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 two of PCRE's optimizations. PCRE  Setting a partial matching option for \fBpcre_exec()\fP disables the use of any
36  remembers the last literal byte in a pattern, and abandons matching immediately  just-in-time code that was set up by calling \fBpcre_study()\fP with the
37  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
38  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
39  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
40  bother to run the matching function on shorter strings. This optimization is  optimization cannot be used for a subject string that might match only
41  also disabled for partial matching.  partially. If the pattern was studied, PCRE knows the minimum length of a
42    matching string, and does not bother to run the matching function on shorter
43    strings. This optimization is also disabled for partial matching.
44  .  .
45  .  .
46  .SH "PARTIAL MATCHING USING pcre_exec()"  .SH "PARTIAL MATCHING USING pcre_exec()"
# Line 411  Cambridge CB2 3QH, England. Line 413  Cambridge CB2 3QH, England.
413  .rs  .rs
414  .sp  .sp
415  .nf  .nf
416  Last updated: 07 November 2010  Last updated: 26 August 2011
417  Copyright (c) 1997-2010 University of Cambridge.  Copyright (c) 1997-2011 University of Cambridge.
418  .fi  .fi

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

  ViewVC Help
Powered by ViewVC 1.1.5