1
0
mirror of https://github.com/pcvolkmer/mv64e-onkostar-data.git synced 2025-09-13 07:52:52 +00:00

fix: DOI publication id pattern

This commit is contained in:
2025-07-04 16:07:04 +02:00
parent 3e5c2cbb80
commit f58022f614

View File

@@ -195,7 +195,7 @@ public abstract class AbstractEinzelempfehlungDataMapper<T> extends AbstractSubf
.type("Publication") .type("Publication")
.build(); .build();
} }
if (line.matches("^\\d{2}\\.\\d{4}/\\d+$")) { if (line.matches("^\\d{2}\\.\\d{4}/\\d+(\\.\\d+)?$")) {
return PublicationReference.builder() return PublicationReference.builder()
.id(line) .id(line)
.system(PublicationSystem.DOI_ORG) .system(PublicationSystem.DOI_ORG)