docs: def get_job_id(self, response):
          """Given the stdout from the command returned by :meth:`cmd_submit`,
          return a job ID"""
          lines = [line.strip() for line in response.split("\n")
                  if line.strip() != '']
          last_line = lines[-1]
          match = re.match('(\d+)\.[\w.-]+$', last_line)
          if match:
              return match.group(1)
          else:
              return None