Skip to content

Commit

Permalink
Merge pull request #1893 from h-east/update-pattern
Browse files Browse the repository at this point in the history
Update pattern.{txt,jax}
  • Loading branch information
h-east authored Dec 27, 2024
2 parents d227fe8 + 5c742fe commit 42a35b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/pattern.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Nov 09
*pattern.txt* For Vim バージョン 9.1. Last change: 2024 Dec 26


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

例えば "get pat" という文字列をファジーマッチで検索すると、"GetPattern"、
Expand Down
3 changes: 2 additions & 1 deletion en/pattern.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*pattern.txt* For Vim version 9.1. Last change: 2024 Nov 09
*pattern.txt* For Vim version 9.1. Last change: 2024 Dec 26


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

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

0 comments on commit 42a35b6

Please sign in to comment.