SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 0560ff46 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Modify regex to allow submission of old-style arXiv identifiers

parent 0db2884b
No related branches found
No related tags found
No related merge requests found
...@@ -253,6 +253,6 @@ SUBMISSIONS_COMPLETE_REGEX = '(?P<arxiv_identifier_w_vn_nr>[0-9]{4,}.[0-9]{4,}v[ ...@@ -253,6 +253,6 @@ SUBMISSIONS_COMPLETE_REGEX = '(?P<arxiv_identifier_w_vn_nr>[0-9]{4,}.[0-9]{4,}v[
# #
# CAUTION: *triple* check whether the `default` regex also meets any other explicit journal regex! # CAUTION: *triple* check whether the `default` regex also meets any other explicit journal regex!
EXPLICIT_REGEX_MANUSCRIPT_CONSTRAINTS = { EXPLICIT_REGEX_MANUSCRIPT_CONSTRAINTS = {
SCIPOST_JOURNAL_PHYSICS: '(?P<arxiv_identifier_w_vn_nr>[0-9]{4,}.[0-9]{5,}v[0-9]{1,2})', SCIPOST_JOURNAL_PHYSICS: '(?P<arxiv_identifier_w_vn_nr>[0-9]{4,}.[0-9]{4,}v[0-9]{1,2})',
'default': SUBMISSIONS_COMPLETE_REGEX 'default': SUBMISSIONS_COMPLETE_REGEX
} }
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