class SearchLevels {

    protected String cleanupCPE(String cpe) {
        if(cpe.startsWith(OLD_CPE_PREFIX)){ // convert cpe2.2 to cpe2.3
            cpe = cpe.replaceAll("^"+OLD_CPE_PREFIX, CPE_PREFIX)
                    .replace("::", ":-:")
                    .replace("~-", "~")
                    .replace("~",  ":-:")
                    .replace("::", ":")
                    .replaceAll("[:-]*$", "");
        }
        return cpe.toLowerCase();
    }

    public  SearchLevels(CveSearchApi cveSearchApi);

}