in reply to Re^4: regex pattern match
in thread regex pattern match

I managed to resolve this with the following pattern

$out =~ m/TaskName:\s+$task.*?Status:\s+(.+?)\n.*?\n+Last Result:\s+(\ +d)/s