code: def get_os_version(self, version_text):
          
          os_version = None
          if version_text is None:
              return os_version
          match = re.search(self.version_re, version_text, re.MULTILINE)
          if match:
              os_version = match.group(1)
  
          return os_version
docs: Return the OS version information from the device.