code: def unquote_pre_filter(pre_filter, _regex=re.compile(r'[\\]+')):
      
      if pre_filter.startswith('"') and pre_filter.endswith('"'):
          # Unquote outer level
          pre_filter = pre_filter[1:-1]
          pre_filter = _regex.sub(lambda x: x.group(0)[:len(x.group(0)) // 2], pre_filter)
  
      return pre_filter
docs: Unquote a pre-filter condition.