Avoid special character issues in RegExp replacement strings
v0.1.7