<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _slugify(string):
 """ This is not as good as a proper slugification function, but the input space is limited 'beets' 'toaster-strudel' Here's why: It handles very little. It doesn't handle esoteric whitespace or symbols: 'hat-basket-of-justice-and-some-symbols' """

    words = re.split(r'[\W]', string)
    clean_words = [w for w in words if w != '']
    return '-'.join(clean_words).lower()