docs: def settingsAsFacts(self, settings):
          """
          Parses a string of settings.
  
              :param setting: String of settings in the form:
              ``set(name1, val1), set(name2, val2)...``
  
          """
          pattern = re.compile('set\(([a-zA-Z0-9_]+),(\[a-zA-Z0-9_]+)\)')
          pairs = pattern.findall(settings)
          for name, val in pairs:
              self.set(name, val)