Skip to content

Commit

Permalink
Adjust regex
Browse files Browse the repository at this point in the history
Co-authored-by: Jens Wille <[email protected]>
  • Loading branch information
TobiasNx and blackwinter authored Aug 8, 2024
1 parent c1c6d13 commit 3f2de28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/alma/fix/relatedRessourcesAndLinks.fix
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ set_array("fulltextOnline[]")

do list(path: "8564?", "var":"$i")
if exists("$i.u")
unless any_match("$i.u",".*(doi.org|urn=urn:|(org|de)/urn:).*") # This should not skip repository links like: https://sammlungen.ulb.uni-muenster.de/urn/urn:nbn:de:hbz:6-85659520092
unless any_match("$i.u",".*(doi.org|urn=urn:|\\.(org|de)/urn:).*") # This should not skip repository links like: https://sammlungen.ulb.uni-muenster.de/urn/urn:nbn:de:hbz:6-85659520092
if all_equal("$i.z", "kostenfrei") # kostenfrei, added Digitalisierung not only Verlag or Agentur as filter
if all_match("$i.x", "Verlag|Agentur|Digitalisierung")
copy_field("$i.x", "fulltextOnline[].$append.label")
Expand Down

0 comments on commit 3f2de28

Please sign in to comment.