Deven T. Corzine writes: > I haven't even SEEN an example where the current behavior is actually > preferable than my proposed behavior, have you? (And I'd expect at least a > FEW, though I suspect there are probably more counterexamples.) I think the biggest problem with your idea is that it requires the engine to keep looking even after it finds a match, to see if there's another shorter match. This would make *every* match much much slower, potentially heatdeathoftheuniverse slower. I like the current semantics because it's very easy to visualize the engine acting on your instructions and stopping as soon as it finds a match. I am a programmer, and I prefer programs to descriptions. Nat
- Perl 5's "non-greedy" matching can be TOO gr... Deven T. Corzine
- Re: Perl 5's "non-greedy" matching can ... Tom Christiansen
- Re: Perl 5's "non-greedy" matching ... Deven T. Corzine
- Re: Perl 5's "non-greedy" match... Tom Christiansen
- Re: Perl 5's "non-greedy" m... Deven T. Corzine
- Re: Perl 5's "non-greedy&qu... Tom Christiansen
- Re: Perl 5's "non-greedy" matching can ... Jeff Pinyan
- Re: Perl 5's "non-greedy" matching ... Deven T. Corzine
- Re: Perl 5's "non-greedy" match... Jeff Pinyan
- Re: Perl 5's "non-greedy" m... Deven T. Corzine
- Re: Perl 5's "non-greedy&qu... Nathan Torkington
- Re: Perl 5's "non-greed... Jarkko Hietaniemi
- Re: Perl 5's "non-g... Nathan Torkington
- Re: Perl 5's "non-g... Deven T. Corzine
- Re: Perl 5's "non-greed... Deven T. Corzine
- Re: Perl 5's "non-g... Jonathan Scott Duff
- Re: Perl 5's "non-g... Deven T. Corzine
- Re: Perl 5's "non-g... Kevin Walker
- Re: Perl 5's "non-g... Jarkko Hietaniemi
- Re: Perl 5's "non-g... Tom Christiansen
- Re: Perl 5's "non-g... Kevin Walker