Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

区分大小写的查找 #6

Closed
JefferyJu opened this issue Sep 21, 2020 · 1 comment
Closed

区分大小写的查找 #6

JefferyJu opened this issue Sep 21, 2020 · 1 comment

Comments

@JefferyJu
Copy link

刚开始学习, 英文看的头疼, 中文版真好, 不过有一处笔误, 希望可以更正一下

有一个缺点。 如果只需要搜索小写字符串怎么办? 当您执行/hello时,Vim将始终匹配其大写变体。 如果您不想匹配它们怎么办? 您可以在搜索词前使用\c模式来告诉Vim,后续搜索词将区分大小写。 如果执行/\chello,它将严格匹配"hello",而不是"HELLO"或"Hello"。

'\c'模式应该是 \C 模式

  • c : 不区分大小写匹配
  • C : 区分大小写匹配
@wsdjeg
Copy link
Owner

wsdjeg commented Sep 21, 2020 via email

@wsdjeg wsdjeg closed this as completed in 1604718 Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants