Skip to content

'regex' for PURL - minimum PURL type length #820

@tschmidtb51

Description

@tschmidtb51

The PURL spec has a regex for examples in 6.10: ^pkg:[a-z][a-z0-9-\.]+/.*$

The regex states that the type SHALL have at least to characters. However, the spec in section 5.6.2 does not have the 2 character constraint. What is true? / Is the 2 character constraint missing in section 5.6.2 or should the regex in 6.10 be ^pkg:[a-z][a-z0-9-\.]*/.*$

Note: another question about the name part of the regex is in #819.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions