Skip to content

Conversation

@karlbecker
Copy link
Contributor

This CrossRef blog post about DOI regexes mentions some DOIs that are somewhat unique.

One of the special cases is for roughly 300000 DOIs from Wiley. We wanted to make sure the doi-regex package would match those - and at least for the example DOI I put, it looks like it is 👍

So no functional change here. Instead, I'm just adding a test to ensure this slightly atypical DOI still matches the regex used in this package.

More info: https://www.crossref.org/blog/dois-and-matching-regular-expressions/

This test ensures roughly 300000 DOIs from Wiley match the regex
@karlbecker
Copy link
Contributor Author

Hi @RichardLitt , happy new year! Just thought I'd at mention you in case you missed this PR. Let me know if you have any questions - hopefully this funny example is something you think would be beneficial to keep in the test suite.

@RichardLitt RichardLitt merged commit 8e5ae43 into regexhq:master Jan 6, 2022
@RichardLitt
Copy link
Member

Sweet contribution! I had indeed missed it. Thanks for doing this. Happy New Year!

@karlbecker
Copy link
Contributor Author

Thanks Richard! Glad it was helpful ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants