def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def linear_search(lst,size,value):
    i = 0
    while i < size:
        if lst[i] == value:
            return i
        i = i + 1
    return -1