import re
import string


def pig(word):
    """Create a Pig Latin version of a word"""

    consonants = re.sub('[aeiouAEIOU]', '', string.ascii_letters)
    match = re.match('^([' + consonants + ']+)(.+)', word)

    pig_word = '-'.join([match.group(2),
                         match.group(1) + 'ay']) if match else word + '-ay'

    return pig_word