【发布时间】:2014-10-08 09:14:22
【问题描述】:
我已将一些 XML 粘贴到 Notepad++ 中。粘贴的文本在应该出现换行符的地方包含 \r\n。但是,Notepad++ 只是在一行中显示整个文件。就好像它忽略了 \r\n
所以文本看起来像这样:
Some stuff on one line\r\n Some stuff that should be on another line\r\n
代替:
Some stuff on one line
Some stuff that should be on another line
【问题讨论】:
-
查看superuser.com/questions/274509/… 进行总结:将正则表达式 \\r\\n 替换为 \n。
标签: notepad++ newline linefeed