Skip to content

Commit

Permalink
utils: adapt to correct url match regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Krägelin committed Jan 29, 2025
1 parent 0e8c06e commit 6944dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idutils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down

0 comments on commit 6944dab

Please sign in to comment.