-
Notifications
You must be signed in to change notification settings - Fork 36
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
Possible to have two re pattern for one line replacement? #190
Comments
With some investigation, the
I think only the group index needs to be increased to match the position when more than one pattern is used in one line. |
Nice catch, yes it should be possible to handle this somehow. |
mbarkhau
added a commit
that referenced
this issue
Oct 14, 2022
mbarkhau
added a commit
that referenced
this issue
Oct 14, 2022
Fixed with 2022.1019 |
@mbarkhau thanks a lot for the quick fix. 🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
bumpver
tool is really great but we now can not figure out how to use it for our new version replacement case.We have a package dependency defined in
setup.cfg
that needs to update with every releaseWe defined the pattern as:
However,
bumpver update --dry-run
end up with the error:Is that already supported to have two matches in one line? If not how can I set the pattern for the replacement.
Thanks!
The text was updated successfully, but these errors were encountered: