Coverage for lutris.util.strings : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
"""Remove special characters from a string and slugify it.
Normalizes string, converts to lowercase, removes non-alpha characters, and converts spaces to hyphens. """ 'ignore')
""" Surrounds URL with <a> tags """ r'(http[s]?://(' r'?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+)', r'<a href="\1">\1</a>', text ) |