--- code/trunk/doc/html/pcrecallout.html 2007/06/05 10:40:13 172
+++ code/trunk/doc/html/pcrecallout.html 2009/03/17 21:30:30 392
@@ -62,7 +62,8 @@
You should be aware that, because of optimizations in the way PCRE matches -patterns, callouts sometimes do not happen. For example, if the pattern is +patterns by default, callouts sometimes do not happen. For example, if the +pattern is
ab(?C4)cd@@ -71,6 +72,12 @@ the callout is never reached. However, with "abyd", though the result is still no match, the callout is obeyed. +
+You can disable these optimizations by passing the PCRE_NO_START_OPTIMIZE +option to pcre_exec() or pcre_dfa_exec(). This slows down the +matching process, but does ensure that callouts such as the example above are +obeyed. +
During matching, when PCRE reaches a callout point, the external function @@ -192,9 +199,9 @@
-Last updated: 29 May 2007
+Last updated: 15 March 2009
-Copyright © 1997-2007 University of Cambridge. +Copyright © 1997-2009 University of Cambridge.
Return to the PCRE index page.