[pcre-dev] Optimizations when execution order is important

Kezdőlap
Üzenet törlése
Szerző: mavvma
Dátum:  
Címzett: pcre-dev
Régi témák: Re: [pcre-dev] Why Greedy Recursion Happens?
Tárgy: [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.