|
[Rivet-svn] rivet: Allow 5-digit Arxiv IDs in rivet-findid.Rivet Mercurial rivet at projects.hepforge.orgTue Apr 18 11:45:02 BST 2017
details: https://rivet.hepforge.org/hg/rivet/rev/5f40d3bf7709 branches: release-2-5-x changeset: 5731:5f40d3bf7709 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Tue Apr 18 11:38:39 2017 +0100 description: Allow 5-digit Arxiv IDs in rivet-findid. diffs (20 lines): --- a/bin/rivet-findid Thu Mar 30 16:31:27 2017 +0100 +++ b/bin/rivet-findid Tue Apr 18 11:38:39 2017 +0100 @@ -8,7 +8,7 @@ Arguments: ID A paper ID in one of the following formats - - arXiv: yymm.nnnn + - arXiv: yymm.nnnnn - arXiv: foo-bar/yymmnnn - SPIRES: [S]nnnnnnn - Inspire: [I]nnnnnn[n]""" @@ -29,7 +29,7 @@ ## Set up some variables before the loop over args - arxiv_pattern = re.compile('^\d\d[01]\d\.\d{4}$|^(hep-(ex|ph|th)|nucl-ex)/\d\d[01]\d{4}$') + arxiv_pattern = re.compile('^\d\d[01]\d\.\d{4,5}$|^(hep-(ex|ph|th)|nucl-ex)/\d\d[01]\d{4}$') spires_pattern = re.compile('^(S|I)?(\d{6}\d?)$')
More information about the Rivet-svn mailing list |