On 5/31/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 5/31/07, Sharan Basappa <[EMAIL PROTECTED]> 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.
Oh, and it makes the generalized* versions non-greedy as well. *{n}, {n,}, and {n, m} -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/