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.
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 thetestsalways matches the first expression before the second one. It might just work to swap the two cases in the regex.