We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for creating ruplacer! It's been great for renaming variables across source files.
Is there a way to replace matches with the empty string? For example,
ruplacer "string" ""
fails with
error: The following required arguments were not provided: <replacement>
I've been working around this by just adding an empty capture group () and then replacing with '$1'.
()
'$1'
The text was updated successfully, but these errors were encountered:
Sorry but I can't reproduce that bug here. What operating system and what kind of terminal are you using?
Sorry, something went wrong.
I did some additional checking, and my issue is due to a longstanding bug in PowerShell:
So Ruplacer is working correctly...and now I have to worry about shell bugs whenever something doesn't work as expected!
No branches or pull requests
Thanks for creating ruplacer! It's been great for renaming variables across source files.
Is there a way to replace matches with the empty string? For example,
fails with
I've been working around this by just adding an empty capture group
()
and then replacing with'$1'
.The text was updated successfully, but these errors were encountered: