code: def __parse_flags(self, body):
          
          flags = []
          values = []
          lines = body.split('\n')
          for l in lines:
              for name in self.FLAGS_REGEX:
                  m = re.match(self.FLAGS_REGEX[name], l)
  
                  if m:
                      flags.append(name)
                      values.append(m.group("value").strip())
  
          if flags == []:
              flags = ""
              values = ""
  
          return flags, values
docs: Parse flags from a message