Author: Zoltán Herczeg Date: To: pcre-dev CC: pcre-dev Subject: Re: [pcre-dev] Revision 922
Hi,
> Not a stupid question. Thanks for asking it. Darn. I want this
> functionality for pcretest. I do not want to modify the API for
> pcre_exec. Is there any other way I can achieve this? (I was slightly
> worried when I implemented what I did, but obviously not worried enough.
> I must remember to *think threads*. :-)
This is dead easy. The JIT callback is *only* called if JIT runs (and in that case it is always called). We just need to set a flag in the callback.