identifiers-org/identifiers-org.github.io

wrong pattern for DOI

Closed this issue · 2 comments

The LUI pattern for DOIs seems wrong: https://registry.identifiers.org/registry/doi gives ^(doi:)?\d{2}.\d{4}.*$ but the DOI handbook does not specify any length for the registrant code in the prefix. For instance this is a valid DOI:
https://doi.org/10.21/FQSQT4T3 where the registrant code is 2 digits instead of 4.

Hi @wouteraddink, while you wait for the Identifiers.org team to respond, we have already made the corresponding update in the Bioregistry project in biopragmatics/bioregistry#556. It will be reflected on https://bioregistry.io/registry/doi after the nightly build.

Thank you for pointing out that mistake. I updated it to ^(doi:)?10.\d+/.*$