Jump to content

nongreedy

From Wiktionary, the free dictionary

English

[edit]

Alternative forms

[edit]

Etymology

[edit]

From non- +‎ greedy.

Adjective

[edit]

nongreedy (not comparable)

  1. (chiefly computing) Not greedy.
    • 2000, Larry Wall, Tom Christiansen, Jon Orwant, Programming Perl:
      In modern versions of Perl, you can force nongreedy, minimal matching by placing a question mark after any quantifier.