在Emace的正则表达式中使用新行

今天我尝试在Emacs的正则表达式中把一个字符替换成一个新行,却发现不能使用"\n"代表新行,G了一下才知道,原来是得在replace regexp with中,键入"C-q C-J"命令,这样Emacs才会认为这是一个新行。

On November 12, 2006 11:15 am

Comments »

No comments yet.

Leave a comment



Anti-spam measure: please retype the above text into the box provided.