docs: def decode_task(line):
      """ Parse a single record (task) from a task database file.
  
      I don't understand why they don't just use JSON or YAML.  But
      that's okay.
  
      >>> decode_task('[description:"Make a python API for taskwarrior"]')
      {'description': 'Make a python API for taskwarrior'}
  
      """
  
      task = {}
      for key, value in re.findall(r'(\w+):"(.*?)(?<!\\)"', line):
          value = value.replace('\\"', '"')  # unescape quotes
          task[key] = value
          for unsafe, safe in six.iteritems(decode_replacements):
              task[key] = task[key].replace(unsafe, safe)
      if 'tags' in task:
          task['tags'] = task['tags'].split(',')
      return task