python regex alternative for join,"re.sub('(?<=.)(?=.)', '-', str)"