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