Closed JP-Ellis closed 9 years ago
Thanks for the report. It was an issue in the steroids package. This commit should fix it:
https://github.com/benma/visual-regexp-steroids.el/commit/2a50710dea5be872b31ea56f74b4cd57d6e61461
Please let me know if the issue is solved for you.
This has fixed the issue; thanks for that!
I am not sure whether this issue is specific to this or visual-regexp-steroids, but I'll report the issue here.
When the replacement string contains an
\n
, it inserts a newline regardless of any escape sequence. I have illustrated below a few examples of what the replacement text produces.This works as expected:
But this does not:
One would expect the replacement to be
abc\ndef
without any newlines.