[pcre-dev] Optimizations when execution order is important

Page principale
Supprimer ce message
Auteur: mavvma
Date:  
À: pcre-dev
Anciens-sujets: Re: [pcre-dev] Why Greedy Recursion Happens?
Sujet: [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.