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 regex for GitLab links in parser.ts #41

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

trivialkettle
Copy link
Contributor

The first group used a greedy match, so that it always matched the dash that gitlab uses in front of compare. The optional group was not enough to remove the dash from the matched link.

I am so sorry for the broken merge requests. I added a test to avoid further broken releases.

The first group used a greedy match, so that it always matched the
dash that gitlab uses in front of `compare`. The optional group
was not enough to remove the dash from the matched link.
@oscarotero oscarotero merged commit 4e0f18d into oscarotero:master Nov 9, 2023
1 check passed
@oscarotero
Copy link
Owner

thank you!

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