>I want the maximum level of OVERALL consistency for regular expressions as We're there, thank you very much. "Find a match" is the over-riding sentiment, the principle semantic. It is completely consistent with this. You've got greed/nongreed very wrong. >a whole, rather than immutable adherence to the "leftmost trumps nongreedy" >rule currently in place. Most of the time, I agree with the precedence of >leftmost over nongreedy. The example I gave is a case where I believe the >strict adherence to the leftmost rule actually introduces complexity and >makes the regular expression system less self-consistent. You have yet to provide a concrete, real-world example of this allegation. To the contrary, you give unrealworld examples. --tom
- Re: Perl 5's "non-greedy" matching can b... Deven T. Corzine
- Re: Perl 5's "non-greedy" matching c... Jarkko Hietaniemi
- Re: Perl 5's "non-greedy" matchi... Deven T. Corzine
- Re: Perl 5's "non-greedy" ma... Tom Christiansen
- Re: Perl 5's "non-greedy&quo... Nathan Torkington
- Re: Perl 5's "non-greedy... Deven T. Corzine
- Re: Perl 5's "non-greedy&quo... Deven T. Corzine
- Re: Perl 5's "non-greedy... Tom Christiansen
- Re: Perl 5's "non-greedy... Tom Christiansen
- Re: Perl 5's "non-greedy... Deven T. Corzine
- Re: Perl 5's "non-greedy" matching c... Tom Christiansen
- Re: Perl 5's "non-greedy" matching can be TOO... brian d foy
- Re: Perl 5's "non-greedy" matching can b... Deven T. Corzine
- Re: Perl 5's "non-greedy" matching c... Randal L. Schwartz
- Re: Perl 5's "non-greedy" matchi... Deven T. Corzine
- Re: Perl 5's "non-greedy" ma... Tom Christiansen
- Re: Perl 5's "non-greedy" ma... Tom Christiansen
- Re: Perl 5's "non-greedy" matching c... Uri Guttman
- Re: Perl 5's "non-greedy" matching c... Tom Christiansen
- Re: Perl 5's "non-greedy" matching can be TOO... Nathan Wiger