def escape_chars(title):
    'Wrap title in quotes if it contains colons, asterisks, bacticks'
    if (re.search(':', title) or re.search('\\*', title) or re.search('\\`', title)):
        title = title.replace('"', '\\"')
        title = (('"' + title) + '"')
    return title
Wrap title in quotes if it contains colons, asterisks, bacticks
def escape_chars(title):
    
    if (re.search(':', title) or re.search('\\*', title) or re.search('\\`', title)):
        title = title.replace('"', '\\"')
        title = (('"' + title) + '"')
    return title