<s> import re <EOL> _NORMALIZE = re . compile ( r'<STR_LIT>' , re . UNICODE ) <EOL> def slugify ( text ) : <EOL> """<STR_LIT>""" <EOL> return _NORMALIZE . sub ( '<STR_LIT:->' , text . lower ( ) ) . strip ( '<STR_LIT:->' ) </s>
