On Thursday 04 July 2002 10:47 am, Larry Wall wrote:
> On Thu, 4 Jul 2002, Ashley Winters wrote:
> So I'd guess that we just don't talk about :-1, but rather say that
>
>     <*$min..$max>
>
> is naturally greedy, and as with any quantifier you write
>
>     <*$min..$max>?
>
> to get minimal matching.

I would expect /a<*1..2>?/ to mean /[a<*1..2>]?/ just looking at it. How can ? 
ever mean non-greedy unless it follows a metachar <[*+?]>?

> But sigh, it would fix so many novice bugs to make minimal matching
> the default...

I agree wholeheartedly. *sigh*

Ashley Winters

Reply via email to