in reply to Re: regex: extract a substring
in thread regex: extract a substring

Then why not just push(@rows, $value =~ /$header:_:(.*?):_:/);