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