Skip to content
Snippets Groups Projects
Commit ba6994e0 authored by philip.roeggla's avatar philip.roeggla
Browse files

gnid can have 10 digits

parent 2655e6ba
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class AbstractMultifield(AbstractDataExtractor):
isgnd: bool
xpath_isgnd_tuples: typing.Tuple[XpathIsGnd]
gnd_regex = regex.compile(r'(?<=\(DE-588\))[\d\-X]{8,9}')
gnd_regex = regex.compile(r'(?<=\(DE-588\))[\d\-X]{8,10}')
def get_gnd_as_uri(self, any_string: str) -> str:
found = self.gnd_regex.search(any_string)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment