my @matches = $string =~ /(the .*? dog)/gi;