Greedy vs Nongreedy - What's the difference?
greedy | nongreedy |
Having greed; consumed by selfish desires.
* , chapter=7
, title= Prone to overeat.
(computing) Tending to match as much text as possible.
(chiefly, computing) Not greedy.
* 2000 , Larry Wall, Tom Christiansen, Jon Orwant, Programming Perl
As adjectives the difference between greedy and nongreedy
is that greedy is having greed; consumed by selfish desires while nongreedy is not greedy.greedy
English
Adjective
(er)The Mirror and the Lamp, passage=“[…] Churchill, my dear fellow, we have such greedy sharks, and wolves in lamb's clothing. Oh, dear, there's so much to tell you, so many warnings to give you, but all that must be postponed for the moment.”}}
Synonyms
* gluttonous * See alsoDerived terms
* greed (by back-formation) * greediness * greedy-gutsExternal links
* *Anagrams
* (l)nongreedy
English
Adjective
(-)- In modern versions of Perl, you can force nongreedy , minimal matching by placing a question mark after any quantifier.
