Skip to content
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

Fix URL extraction when the regex falls short #1190

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

lfoppiano
Copy link
Collaborator

This PR fixes the URL extraction when the regular expression is shorter than the actual target (the annotated URL).

@coveralls
Copy link

coveralls commented Oct 24, 2024

Coverage Status

coverage: 40.768% (+0.01%) from 40.755%
when pulling e478c4f on fix-url-extraction-regex-shorter
into be44579 on master.

@lfoppiano lfoppiano marked this pull request as ready for review October 26, 2024 04:54
@lfoppiano lfoppiano linked an issue Oct 31, 2024 that may be closed by this pull request
@lfoppiano
Copy link
Collaborator Author

Added a fix for the case as such:

image

Where genius editors are adding the - for breaking up an URL over two lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants