altmetric / identifiers

Collection of utilities related to the extraction, validation and normalization of various scholarly identifiers.
https://rubygems.org/gems/identifiers
MIT License
5 stars 1 forks source link

Annoying, yet valid, WorldBank DOI #32

Open shamess opened 5 years ago

shamess commented 5 years ago

The WorldBank has a DOI which ends in a dot.

https://doi.org/10.1596/1020-797X-10_2_7.

Unfortunately, DOI.extract doesn't appear to support that.

[1] pry(main)> Identifiers::DOI.extract('https://doi.org/10.1596/1020-797X-10_2_7.')
=> ["10.1596/1020-797x-10_2_7"]
jbilbo commented 5 years ago

maybe we can add a strict option