Return the slug version of the string ``s``

def slugify(cls, s):
        """Return the slug version of the string ``s``"""
        slug = re.sub("[^0-9a-zA-Z-]", "-", s)
        return re.sub("-{2,}", "-", slug).strip('-')