[pcre-dev] Optimizations when execution order is important

Top Page
Delete this message
Author: mavvma
Date:  
To: pcre-dev
Old-Topics: Re: [pcre-dev] Why Greedy Recursion Happens?
Subject: [pcre-dev] Optimizations when execution order is important
Hi, Philip!

PCRE Callout documentation says:
"You should be aware that, because of optimizations in the way PCRE matches patterns, callouts sometimes do not happen."

In some cases if user inserts callout, he surely want to deal some action at this point. But due to such optimizations (they are PCRE-inside and may be unknown for user) expected order may be affected. And user have not any sureness about regexp behaviour.
What do you think about adding a possibility (may be an option) to disable disorder optimizations, if regexp contains callout.

Regards,
Michael.