From 6944dab63b678467b4ba8c5906a51cf85575672d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Kr=C3=A4gelin?= Date: Wed, 29 Jan 2025 14:48:05 +0100 Subject: [PATCH] utils: adapt to correct url match regex --- idutils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idutils/utils.py b/idutils/utils.py index 1c77e75..c7d461d 100644 --- a/idutils/utils.py +++ b/idutils/utils.py @@ -83,7 +83,7 @@ gnd_regexp = re.compile( r"(gnd:|GND:|https?://d-nb\.info/gnd/)?(" - r"(1|10)\d{7}[0-9X]|" + r"1[012]?\d{7}[0-9X]|" r"[47]\d{6}-\d|" r"[1-9]\d{0,7}-[0-9X]|" r"3\d{7}[0-9X]"