最佳答案
我试图用Emacs中的replace-string和/或replace-regexp替换一个字符-说; -用一个新行。
我尝试了以下命令:
m x replace-string 受潮湿腐烂 ; 受潮湿腐烂 \n
这将用两个字符替换;: \n。
m x replace-regex 受潮湿腐烂 ; 受潮湿腐烂 \n
这会导致以下错误(显示在迷你缓冲区中):
在替换文本中无效地使用"。
在这个任务中使用replace-string有什么问题?还有别的办法吗?