|
发表于 2004-5-14 14:47:09
|
显示全部楼层
To enter the same regexp in incremental search, you would type <TAB>
to enter a tab, and `C-j' to enter a newline. You would also type
single backslashes as themselves, instead of doubling them for Lisp
syntax. In commands that use ordinary minibuffer input to read a
regexp, you would quote the `C-j' by preceding it with a `C-q' to
prevent `C-j' from exiting the minibuffer.
也就是说,要在M-x isearch-forward-regexp里加入"\n",你就必须输入
C-q C-j |
|