Compare cpe use fs format string,the two same cpe compare false.But when use wfn format,It return True
# -*- coding: utf-8 -*-
from cpe.cpeset2_3 import CPESet2_3
from cpe.cpe2_3 import CPE2_3
# compare fs
K = CPESet2_3()
c1 = CPE2_3('cpe:2.3:a:deltaww:cncsoft_screeneditor:1:*:*:*:*:*:*:*')
c2 = CPE2_3("cpe:2.3:a:deltaww:cncsoft_screeneditor:1:*:*:*:*:*:*:*")
K.append(c1)
print(K.name_match(c2))
# compare wfn
K = CPESet2_3()
K.append(CPE2_3(c1.as_wfn()))
print(K.name_match(CPE2_3(c1.as_wfn())))
Compare cpe use fs format string,the two same cpe compare false.But when use wfn format,It return True