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