Trensett wrote at Wed, 16 Jul 2003 18:29:51 -0500:

>> The next will work:
>> my @variable = $string =~ /\((.*?)\)/g;
> 
> what's the exact implication of ".*?"?
> Why wouldn't just .* in parenthesis work for this case?

A good answer can also be found in
perldoc perlre
and
perldoc -q greedy


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to