>Nice summary, but I'm not buying what you're selling in the elaboration. Then you lose, because I am not allowed to disagree with you anymore. And everyone else has already written you off. And the answer to "what breaks if mimimal matching is overall but maximal matching is local"--or even, "if we change it all"-- is a zillion programs, including just about any progressive match: while (/.*?(\w+)=(\S+)/g) { push @{ $h{$1} }, $2; } I can't wait for that to match the rightmost one and then fail. Bah. >>/dev/null --tom
- 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