Skip to content

Commit

Permalink
Update rules.json
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak authored Jul 14, 2020
1 parent 35602c2 commit 5880cce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AcdhUriNormRules/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"replace" : "https://chronontology.dainst.org/period/\\2"
},
{
"match" : "^https?://([^.]*[.])?d-nb[.]info/gnd/([0-9]+-[0-9]+)$",
"match" : "^https?://([^.]*[.])?d-nb[.]info/gnd/([-A-Z0-9]+)/?$",
"replace" : "https://d-nb.info/gnd/\\2"
},
{
Expand All @@ -20,8 +20,8 @@
"replace" : "https://n2t.net/ark:/99152/\\2"
},
{
"match" : "^https?://([^.]*[.])?orcid[.]org/([0-9]{4})-?([0-9]{4})-?([0-9]{4})-?([0-9]{4})$",
"replace" : "https://orcid.org/\\2-\\3-\\4-\\5"
"match" : "^https?://([^.]*[.])?orcid[.]org/([-A-Z0-9]+)/?$",
"replace" : "https://orcid.org/\\2"
},
{
"match" : "^https?://([^.]*[.])?pleiades[.]stoa[.]org/places/([0-9]+)(/.*)?$",
Expand Down

0 comments on commit 5880cce

Please sign in to comment.