On Wed Sep 21 02:17:32 2011, ph10@hermes.cam.ac.uk wrote: > The fact that (*THEN) > in these two examples behaves differently is, to me at least, > counter-intuitive: > > A (B (*THEN) C) > A (B (*THEN) C | D) > > In the first, Perl fails the match without any backtracking if C > fails; > in the second, it backtracks into A. Or that is what my experiments > imply. Oddly, I don’t find that counterintuitive at all. Do we need three versions of prune/then?Thread Previous | Thread Next