Skip to content

Commit 42a35b6

Browse files
authored
Merge pull request #1893 from h-east/update-pattern
Update pattern.{txt,jax}
2 parents d227fe8 + 5c742fe commit 42a35b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/pattern.jax

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09
1+
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Dec 26
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -1475,6 +1475,7 @@ Vim では、'^' と '$' は常に中間の改行にもマッチします。最
14751475
- キャメルケース文字でのマッチ (例えば CamelCase の Case)
14761476
- パスの区切り文字またはハイフンの後ろでのマッチ
14771477
- {訳注: マッチした}文字列内のマッチしなかった文字の個数。
1478+
- 完全/正確なマッチが推奨される。
14781479
マッチした文字列でスコアが最も高かったものが最初に返されます。
14791480

14801481
例えば "get pat" という文字列をファジーマッチで検索すると、"GetPattern"、

en/pattern.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 9.1. Last change: 2024 Nov 09
1+
*pattern.txt* For Vim version 9.1. Last change: 2024 Dec 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1504,6 +1504,7 @@ criteria:
15041504
- Matches at a camel case character (e.g. Case in CamelCase)
15051505
- Matches after a path separator or a hyphen.
15061506
- The number of unmatched characters in a string.
1507+
- A full/exact match is preferred.
15071508
The matching string with the highest score is returned first.
15081509

15091510
For example, when you search for the "get pat" string using fuzzy matching, it

0 commit comments

Comments
 (0)