<human>:  Python regex alternative for join
<bot>: Here is some code to separate each character in string `s` by '-'

re.sub('(.)(?=.)', '\\1-', s)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.