-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2034-newAdjestUrnRegex #2043
2034-newAdjestUrnRegex #2043
Conversation
I try to catch all URN Links except those repository links that are have a urn/urn pattern since they are not resolver links: http://digital.ub.uni-duesseldorf.de/urn/urn:nbn:de:hbz:061:1-249692 or https://sammlungen.ulb.uni-muenster.de/urn/urn:nbn:de:hbz:6-85659520092
According to @blackwinter suggestion: #2043 (comment)
@blackwinter since you became a reviewer by commenting, your approval is still pending. |
But it's not required, is it? I'm just offering suggestions. Feel free to deal with them however you see fit. If you're asking for approval, though, I'm inclinded to suggest that you adjust the other regexp as well. |
Feel free to suggest the change for the other one, always good to improve code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we wanted to be even more pedantic, we'd change all the capturing parentheses ((...)
) to non-capturing ones ((?:...)
).
Co-authored-by: Jens Wille <[email protected]>
See #2034
Replaces #2035
This PR tries to catch all URN resolver links not just nbn from 865.
It uses the URNs from 024 as fallback if no 865 links with URN are provided.
Also it changes the nbn links to org when creating them as fallback.