code: def parse_version_string(version_string):
      
      string_parts =  version_string.split(".")
      version_parts = [
          int(re.match("([0-9]*)", string_parts[0]).group(0)),
          int(re.match("([0-9]*)", string_parts[1]).group(0)),
          int(re.match("([0-9]*)", string_parts[2]).group(0))
      ]
      return version_parts
docs: Parses a semver version string, stripping off "rc" stuff if present.