diff --git a/src/main/resources/alma/fix/item.fix b/src/main/resources/alma/fix/item.fix index 034c6d6f8..2b2273d72 100644 --- a/src/main/resources/alma/fix/item.fix +++ b/src/main/resources/alma/fix/item.fix @@ -128,7 +128,7 @@ end set_array("@callNumberRvk[]") do list(path:"hasItem[]","var":"$i") - if any_match("$i.callNumber","[A-Z][A-Z] \\d{3,6} .*") + if any_match("$i.callNumber","([A-Z]{2} \\d{3,6})(\\.\\d*)?( [A-Z]\\d+)+([\\.\\d\\-\\(\\)+]*)?") copy_field("$i.callNumber","@callNumberRvk[].$append") end end diff --git a/src/test/resources/alma-fix/990109712970206441.json b/src/test/resources/alma-fix/990109712970206441.json index b1faac40f..68e217a14 100644 --- a/src/test/resources/alma-fix/990109712970206441.json +++ b/src/test/resources/alma-fix/990109712970206441.json @@ -213,13 +213,6 @@ "gndIdentifier" : "2085343-9", "altLabel" : [ "Beethoven-Haus", "Bonner Beethoven-Haus", "Bonner Beethovenhaus" ] } ] - }, { - "notation" : "BM 800", - "type" : [ "Concept" ], - "source" : { - "label" : "RVK (Regensburger Verbundklassifikation)", - "id" : "https://d-nb.info/gnd/4449787-8" - } } ], "spatial" : [ { "id" : "https://nwbib.de/spatial#Q586", diff --git a/src/test/resources/alma-fix/990122511970206441.json b/src/test/resources/alma-fix/990122511970206441.json index 8517b40b4..273db2b83 100644 --- a/src/test/resources/alma-fix/990122511970206441.json +++ b/src/test/resources/alma-fix/990122511970206441.json @@ -83,14 +83,6 @@ "type" : [ "Work" ] }, "extent" : "2 CD : DDD + Beih.", - "subject" : [ { - "notation" : "CD 2410", - "type" : [ "Concept" ], - "source" : { - "label" : "RVK (Regensburger Verbundklassifikation)", - "id" : "https://d-nb.info/gnd/4449787-8" - } - } ], "hasItem" : [ { "label" : "lobid Bestandsressource", "type" : [ "Item", "PhysicalObject" ], diff --git a/src/test/resources/alma-fix/990210237770206441.json b/src/test/resources/alma-fix/990210237770206441.json index 149d305e6..7ae021db8 100644 --- a/src/test/resources/alma-fix/990210237770206441.json +++ b/src/test/resources/alma-fix/990210237770206441.json @@ -91,21 +91,6 @@ } ], "extent" : "1 Partitur (12 Seiten)", "note" : [ "Hier auch später erschienene, unveränderte Nachdrucke" ], - "subject" : [ { - "notation" : "NV 102", - "type" : [ "Concept" ], - "source" : { - "label" : "RVK (Regensburger Verbundklassifikation)", - "id" : "https://d-nb.info/gnd/4449787-8" - } - }, { - "notation" : "NB 2023", - "type" : [ "Concept" ], - "source" : { - "label" : "RVK (Regensburger Verbundklassifikation)", - "id" : "https://d-nb.info/gnd/4449787-8" - } - } ], "hasItem" : [ { "label" : "lobid Bestandsressource", "type" : [ "Item", "PhysicalObject" ], diff --git a/src/test/resources/alma-fix/99370771475306441.json b/src/test/resources/alma-fix/99370771475306441.json index 09edd862e..16ba4004b 100644 --- a/src/test/resources/alma-fix/99370771475306441.json +++ b/src/test/resources/alma-fix/99370771475306441.json @@ -245,13 +245,6 @@ "id" : "https://d-nb.info/gnd/4181939-1", "gndIdentifier" : "4181939-1" } ] - }, { - "notation" : "MS 6020", - "type" : [ "Concept" ], - "source" : { - "label" : "RVK (Regensburger Verbundklassifikation)", - "id" : "https://d-nb.info/gnd/4449787-8" - } } ], "subjectslabels" : [ "Altern", "Berufliche Stellung", "Bildung", "Einkommensungleichheit", "Gesundheit", "Gesundheitspolitik", "Krankheit", "Soziale Benachteiligung", "Soziale Gerechtigkeit", "Soziale Ungleichheit, Armut, Rassismus", "Gesundheitssoziologie, Medizinsoziologie", "Wirtschaftssoziologie, Arbeitssoziologie, Organisationssoziologie", "Soziale Ungleichheit", "Teilhabe", "Gesundheitswesen", "Sozialer Friede" ], "hasItem" : [ {