-
Notifications
You must be signed in to change notification settings - Fork 485
Fix replace_all when only match is at start and replacement is empty. #315
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
Conversation
Thanks for fixing this! This was a pretty silly mistake on my part! |
@bors r+ |
📌 Commit a9f9c9c has been approved by |
💔 Test failed - status-travis |
@bors retry |
💔 Test failed - status-travis |
@bors retry |
☀️ Test successful - status-appveyor, status-travis |
will a new version including this fix be pushed automatically to crates.io or someone has to trigger that manually? thanks |
@maximih I'm working on it. I'll issue a release once #323 is merged. |
@maximih 0.2.1 is out! |
@BurntSushi thanks! |
Fixes #314.
All old tests and the new test I added pass, and I also confirmed manually that the test case reported in #314 passes with this change. Let me know if you can think of any case that my change doesn't handle!