in reply to Re^2: Finding short DNS names from long text
in thread Finding short DNS names from long text
"To be extremely specific, I want to mimic the vendor name part of the MITRE Common Platform Enumeration found on page 10 of http://cpe.mitre.org/files/cpe-specification_2.2.pdf
FWIW: That was how you should have asked the question in the first place.
Knowing only what 30 seconds of googling has told me about CPE, wouldn't the best way to mimic CPE's behavior be to directly use the Official CPE Database of names?