Skip to content

Commit

Permalink
expand the pattern for DOI Urls as these can also contain lowercase l…
Browse files Browse the repository at this point in the history
…etters.
  • Loading branch information
esinsj committed Feb 11, 2025
1 parent 0234e5e commit 4733149
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- expand the pattern for DOI Urls as these can also contain lowercase letters.

### Security

## [3.5.1] - 2025-01-29
Expand Down
2 changes: 1 addition & 1 deletion mex/model/entities/bibliographic-resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"http://dx.doi.org/10.25646/5147",
"https://doi.org/10.1016/j.vaccine.2022.11.065"
],
"pattern": "^(((http)|(https))://(dx.)?doi.org/)(10.\\d{4,9}/[-._;()/:A-Z0-9]+)$",
"pattern": "^(((http)|(https))://(dx.)?doi.org/)(10.\\d{4,9}/[-._;()/:A-Za-z0-9]+)$",
"type": "string"
},
{
Expand Down
2 changes: 1 addition & 1 deletion mex/model/entities/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
"http://dx.doi.org/10.25646/5147",
"https://doi.org/10.1016/j.vaccine.2022.11.065"
],
"pattern": "^(((http)|(https))://(dx.)?doi.org/)(10.\\d{4,9}/[-._;()/:A-Z0-9]+)$",
"pattern": "^(((http)|(https))://(dx.)?doi.org/)(10.\\d{4,9}/[-._;()/:A-Za-z0-9]+)$",
"type": "string"
},
{
Expand Down

0 comments on commit 4733149

Please sign in to comment.