Skip to content
Snippets Groups Projects
Commit 65e44a30 authored by Alexander Purr's avatar Alexander Purr Committed by Dorian Merz
Browse files

refs #18015 [master] adjust GND regex pattern

* not cutting tailing "-7" any more
* match endings like "X", "-X" or "-2"
parent 99ace1fc
No related merge requests found
...@@ -57,7 +57,7 @@ class SolrMarcFinc extends SolrMarc ...@@ -57,7 +57,7 @@ class SolrMarcFinc extends SolrMarc
/** /**
* pattern to identify normed data set of GND * pattern to identify normed data set of GND
*/ */
const GND_PATTERN = '/^(\(DE-588\))(\d+)(\w|)/'; const GND_PATTERN = '/^(\(DE-588\))(\d+)(\S*)$/';
/** /**
* List of isil of institution * List of isil of institution
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment