From: "Radosław Bułat" Date: 2008-01-17T20:19:40+09:00 Subject: Re: Greedy and non greedy quantifiers > puts "aaaabaaaab".match(/.*?b/) # matches "aaab" It of course matches "aaaab" (missing one 'a')