Closed joncison closed 5 years ago
The basic regex (which catches vast majority of DOI) is OK
What need to do is add <xs:whiteSpace value="preserve"/>
so that whitespace is preserved, thus DOI values with e.g. preceding whitespace will be invalid.
duplicates https://github.com/bio-tools/biotoolsSchema/issues/8
all details copied across
see https://www.crossref.org/blog/dois-and-matching-regular-expressions/
we had issues allowing regex with (erroneous) '.' (full stop) characters at end, see https://github.com/bio-tools/biotoolsRegistry/issues/337