From 9a3b44384e39e888c5faa10de6744ae3e8b81306 Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Tue, 11 Jun 2024 22:39:50 +0200 Subject: [PATCH] extend permitted volume doi labels to >1 digits --- scipost_django/journals/regexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipost_django/journals/regexes.py b/scipost_django/journals/regexes.py index db6ed340c..271113c28 100644 --- a/scipost_django/journals/regexes.py +++ b/scipost_django/journals/regexes.py @@ -4,7 +4,7 @@ __license__ = "AGPL v3" JOURNAL_DOI_LABEL_REGEX = r"(SciPost)[a-zA-Z]+|(MigPol)" -VOLUME_DOI_LABEL_REGEX = r"({})\.\w".format(JOURNAL_DOI_LABEL_REGEX) +VOLUME_DOI_LABEL_REGEX = r"({})\.\w+".format(JOURNAL_DOI_LABEL_REGEX) ISSUE_DOI_LABEL_REGEX = r"({})\.\w+(\.[0-9]+)?".format(JOURNAL_DOI_LABEL_REGEX) -- GitLab