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

Make prefix regex non-greedy #38

Merged

Conversation

rgriebl
Copy link
Contributor

@rgriebl rgriebl commented Jan 1, 2021

This makes it possible to deal with major version numbers > 9.
Without this patch, a version like v42.1.0 would be parsed as 2.1.0, stripping a prefix of v4

This makes it possible to deal with major version numbers > 9.
Without this patch, a version like v42.1.0 would be parsed as 2.1.0, stripping a prefix of v4
@codecov
Copy link

codecov bot commented Jan 1, 2021

Codecov Report

Merging #38 (b879f21) into master (269d99f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #38   +/-   ##
=======================================
  Coverage   85.98%   85.98%           
=======================================
  Files           7        7           
  Lines         264      264           
=======================================
  Hits          227      227           
  Misses         24       24           
  Partials       13       13           

@anton-yurchenko anton-yurchenko added bug Looks like an issue v3 Release v3.x.x labels Jan 2, 2021
@anton-yurchenko
Copy link
Owner

Amazing 👏🏻
Thank you!

@anton-yurchenko anton-yurchenko merged commit 8ee8370 into anton-yurchenko:master Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Looks like an issue v3 Release v3.x.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants