首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >有没有办法在M-x isearch-forward-regexp之后将正确的正则表达式粘贴到微型缓冲区

有没有办法在M-x isearch-forward-regexp之后将正确的正则表达式粘贴到微型缓冲区
EN

Stack Overflow用户
提问于 2017-03-23 23:10:33
回答 1查看 135关注 0票数 3

我复制的正确正则表达式:

代码语言:javascript
复制
\(.\)

我在M-x之后粘贴的内容是isearch forward-regexp:

代码语言:javascript
复制
\\(\.\\)

有没有办法解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2017-03-24 04:06:17

  1. @phils说了什么。(在regexp搜索过程中拉入vanilla Isearch将应用您使用的库Isearch+ regexp-quote.)
  2. If:

代码语言:javascript
复制
- Whether that automatic `regexp-quote`-ing is done or not is controlled by option **`isearchp-regexp-quote-yank-flag`**.
- You can toggle that option value anytime during isearch using **`C-``** (command `isearchp-toggle-regexp-quote-yank`).

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42979999

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档