-
Notifications
You must be signed in to change notification settings - Fork 2
Formatting for biorxiv short-circuits #1
Copy link
Copy link
Open
Description
Hello! I've been using this library for a while, and I just started testing some functionality I hadn't needed when I noticed that the biorxiv id doesn't currently work as described on the README. If I enter an id expression with a colon in it like "biorxiv:570689", I get an error because the code ends up constructing a DOI with colon in it. I think this is because the regular expression 'biorxiv':'^biorxiv ?|^biorxiv:' in the tests always matches the first expression before the second one. It might just work to swap the two cases in the regex.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels