[][src]Module cpe::uri

Uri - A CPE 2.2 URI

CPE 2.2 URI as specified in CPE22 or in CPE23-N:6

Valid values

The specification for a URI from CPE23-N:6 defines both a strict grammar, and a more permissive grammar. The URIs are parsed with the permissive grammar.

Prefixes

Some vendors use a prefix to denote a CPE that is not in a CPE dictionary. This is a two character prefix before the leading cpe:/, typically in the form of x-cpe:/ or p-cpe:/. A URI in this form can be parsed with the parse_prefix function. There is no function to parse prefixed URIs using the strict grammar.

Structs

OwnedUri

Owned copy of a URI for when lifetimes do not permit borrowing from the input.

Uri

A CPE 2.2 URI