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

Handle new lines in the search and replace patterns #4

Open
roumail opened this issue Oct 29, 2024 · 1 comment
Open

Handle new lines in the search and replace patterns #4

roumail opened this issue Oct 29, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@roumail
Copy link

roumail commented Oct 29, 2024

Hi,

I came across your tool and was wondering if it supports multi-line search and replace.

In case this project is partially inspired by the bump2verion python tool, this is already an open issue there - c4urself/bump2version#235

[bumpversion]
current_version = 1.0.0
[bumpversion:file:VERSION]
search = ## SEARCH
    line
    matching
replace = ##REPLACEMENT

  {new_version} ...
@wiseaidev wiseaidev self-assigned this Nov 14, 2024
@wiseaidev
Copy link
Owner

Awesome feature! Will ship it soon!

@wiseaidev wiseaidev added the enhancement New feature or request label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants