python regex to get everything until the first dot in a string,find = re.compile('^(.*?)\\..*')