Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Handle regexp replacements with $1, $2, etc. properly #5618

Merged
merged 6 commits into from
Oct 22, 2013

Conversation

njx
Copy link
Contributor

@njx njx commented Oct 22, 2013

For #5275. Supersedes #5295.

@njx
Copy link
Contributor Author

njx commented Oct 22, 2013

Merging. I also added a simple unit test for the single-replace case. (We should have unit tests for Replace All too, but I didn't see any existing ones--in general we need to beef up the unit tests in this area when we do the "official" Find/Replace epic.)

Thanks @SAplayer - let me know if you see anything amiss with my final changes.

njx added a commit that referenced this pull request Oct 22, 2013
Handle regexp replacements with $1, $2, etc. properly
@njx njx merged commit 028263d into master Oct 22, 2013
@njx njx deleted the nj/fix-regexp-replace branch October 22, 2013 00:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants