Skip to content

Commit

Permalink
Merge #2094 from branch '2093-zdbIdWithTwo--' of github.com:hbz/lobid…
Browse files Browse the repository at this point in the history
…-resources
  • Loading branch information
dr0i committed Nov 7, 2024
2 parents eccffd1 + 964b921 commit c056d0c
Show file tree
Hide file tree
Showing 4 changed files with 5,220 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/alma/fix/identifiers.fix
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ end
# clean up ZDB
replace_all("zdbId", "\\(DE-600\\)","")
replace_all("zdbId", "\\(DE-599\\)ZDB","")
replace_all("zdbId", " ","-") # CZ entries have incorrect spaces sometimes in the zdbId, we need to replace them with "-".
replace_all("zdbId", "(\\d{1,7})-* ?-*([Xx\\d])","$1-$2") # CZ entries have incorrect whitespaces sometimes in the zdbId, we need to adjust them so only one "-" separates the first group of numbers from the last number.


copy_field("almaMmsId","rpbId")
Expand Down
Loading

0 comments on commit c056d0c

Please sign in to comment.