[pcre-dev] Optimizations when execution order is important

Inizio della pagina
Delete this message
Autore: mavvma
Data:  
To: pcre-dev
Vecchi argomenti: Re: [pcre-dev] Why Greedy Recursion Happens?
Oggetto: [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.