Open lfoppiano opened 4 weeks ago
This PR fixes the URL extraction when the regular expression is shorter than the actual target (the annotated URL).
coverage: 40.768% (+0.01%) from 40.755% when pulling 35ec905702a2e8e5557f460cb6f71cd5ec06a689 on fix-url-extraction-regex-shorter into be44579606f3953473119edf5e34701aad9f1a55 on master.
Added a fix for the edge case:
Where genius editors are adding the - for breaking up an URL over two lines.
-
Here the document: https://doi.org/10.1038/s41588-024-01785-9
This PR fixes the URL extraction when the regular expression is shorter than the actual target (the annotated URL).