Re: did I get greedy quantifiers wrong ?



On 5/31/07, Sharan Basappa <sharan.basappa@xxxxxxxxx> wrote:
snip
$str =~ m/m(.*i?)(.*pi)/;
snip

? only means non-greedy when following a * or a +. When it follows a
pattern it means optional.
.