in reply to Re^2: Multiple Capture Groups in RegEx
in thread Multiple Capture Groups in RegEx

as for the .* it works, I could use .+ it works too

See perlre and look for greediness too, e.g m/.+?/