Perl like regex in Python,"match = re.search('(.*?):([^-]*)-(.*)', line)"