def METHOD_NAME(raw_info):
    # info is like: "== mrconvert 0.3.15-githash"
    for line in raw_info.splitlines():
        if line.startswith("== mrconvert "):
            v_string = line.split()[2]
            break
    else:
        return None
    # -githash may or may not be appended
    v_string = v_string.split("-")[0]
    return ".".join(v_string.split(".")[:3])