nilp0inter / cpe

CPE: Common Platform Enumeration for Python
GNU Lesser General Public License v3.0
92 stars 30 forks source link

Fixed problem when comparing with _compare_strings #41

Closed bstexas closed 5 years ago

bstexas commented 5 years ago

When escapes aren't taken into account in source string, erratic behavior is encountered when comparing with CPESet2_3._compare_strings:

source target outcome
"1\.0\.?" "1\.0\.12" is considered super set
"1\.0\.1" "1\.0\.12" is considered super set
coveralls commented 5 years ago

Coverage Status

Coverage remained the same at ?% when pulling 9aa803b402d1f6cdeda011a1a3d98bf8808556a6 on bstexas:develop into 670d947472a7652af5149324977b50f9a7af9bcf on nilp0inter:develop.

nilp0inter commented 5 years ago

Thanks!