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