in reply to Extracting multiple matches from Reg Ex
You might also consider looking at Text::Balanced.
Cheers,
JohnGG