Re: [pcre-dev] (*THEN) works differently in Perl

Páxina inicial
Borrar esta mensaxe
Autor: Максим
Data:  
Para: Pcre-dev
Asunto: Re: [pcre-dev] (*THEN) works differently in Perl
And it totally contradicts the Perl documentation, in particular, this 
sentence: 

Note that if this operator is used and NOT inside of an alternation 
then it acts exactly like the "(*PRUNE)" operator. 




Sorry I'm ND but write from another mailbox.


I guess from Perl point of view (*THEN) IS inside a branch of the alternation (please look at line indentations in Perl debug output - it is inside BRANCH).
So it should not act as (*PRUNE) in that example.