my @matches = ($result =~ m/INFO\n(.*?)\n/);
So in Perl I want to store all matches to that regular expression. I'm looking to store the value between INFO\n and \n each time it occurs.
But I'm only getting the last occurrence stored. Is my regex wrong?