--- code/trunk/doc/html/pcrepartial.html 2011/09/10 16:19:31 690 +++ code/trunk/doc/html/pcrepartial.html 2011/09/11 14:31:21 691 @@ -58,13 +58,15 @@ are set, PCRE_PARTIAL_HARD takes precedence.

-Setting a partial matching option disables two of PCRE's optimizations. PCRE -remembers the last literal byte in a pattern, and abandons matching immediately -if such a byte is not present in the subject string. This optimization cannot -be used for a subject string that might match only partially. If the pattern -was studied, PCRE knows the minimum length of a matching string, and does not -bother to run the matching function on shorter strings. This optimization is -also disabled for partial matching. +Setting a partial matching option for pcre_exec() disables the use of any +just-in-time code that was set up by calling pcre_study() with the +PCRE_STUDY_JIT_COMPILE option. It also disables two of PCRE's standard +optimizations. PCRE remembers the last literal byte in a pattern, and abandons +matching immediately if such a byte is not present in the subject string. This +optimization cannot be used for a subject string that might match only +partially. If the pattern was studied, PCRE knows the minimum length of a +matching string, and does not bother to run the matching function on shorter +strings. This optimization is also disabled for partial matching.


PARTIAL MATCHING USING pcre_exec()

@@ -434,9 +436,9 @@


REVISION

-Last updated: 07 November 2010 +Last updated: 26 August 2011
-Copyright © 1997-2010 University of Cambridge. +Copyright © 1997-2011 University of Cambridge.

Return to the PCRE index page.