my ($part1, $part2, $part3, $part4) = $line =~ /"some text \((.*?)\) more text (.*?) and dst text (.*?) -flag (.*?)"/;