<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(text, length_limit=0, delimiter=u'-'):
 """Generates an ASCII-only slug of a string."""

    result = []
    for word in _punctuation_regex.split(text.lower()):
        word = _available_unicode_handlers[0](word)
        if word:
            result.append(word)
    slug = delimiter.join(result)
    if length_limit > 0:
        return slug[0:length_limit]
    return slug