def unescape(string, chars=''):
    """Remove backslash in front of any character in `string` that is in `chars`"""
    if '\\' in string:
        for c in chars:
            string = string.replace('\\' + c, c)
    return string
