[pcre-dev] Optimizations when execution order is important

Αρχική Σελίδα
Delete this message
Συντάκτης: mavvma
Ημερομηνία:  
Προς: pcre-dev
Παλιά Θέματα: Re: [pcre-dev] Why Greedy Recursion Happens?
Αντικείμενο: [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.