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 repo URLs not being detected mid-line #44

Merged
merged 1 commit into from
Aug 26, 2019
Merged

Conversation

dgw
Copy link
Member

@dgw dgw commented Aug 24, 2019

This change became an[other] overhaul of how the URL patterns get built. It sure felt good to eliminate the repeated .format() calls!

Tested all three URL types (if issuecomments are counted distinct from regular issue links, four). No changes to the existing behavior except that repo links are correctly detected where they previously were not. (Glad I caught the bug almost introduced, which would have seen double output from detecting repo URLs inside the other types.)

Also renamed the data_url() function to repo_info(), so its name actually means something.

This change became an[other] overhaul of how the URL patterns get built.
It sure felt good to eliminate the repeated `.format()` calls!

Tested all three URL types (if `issuecomment`s are counted distinct from
regular issue links, four). No changes to the existing behavior except
that repo links are correctly detected where they previously were not.
@dgw dgw added this to the 0.2.2 milestone Aug 24, 2019
@dgw dgw merged commit 9758efd into master Aug 26, 2019
@dgw dgw deleted the regex-building-harmony branch August 26, 2019 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant