[pcre-dev] A pattern-matching detail: opinions sought

Kezdőlap
Üzenet törlése
Szerző: Philip Hazel
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] A pattern-matching detail: opinions sought
Folks,

I'm engaged in a debate with some of the Perl community about a
particular matching issue, and I'd like to know what other people think.

   Consider the pattern ^A(B(*THEN)C), where A, B, and C are    
   complex patterns. If matching fails in C, do you expect that                 
   (a) the entire match should fail, or
   (b) the matching should backtrack into A?  


I won't give you any more background, because I do not want to bias your
opinions. :-)

Philip

--
Philip Hazel