Skip to content

Commit 739006b

Browse files
committed
translated.
1 parent f8de019 commit 739006b

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Diff for: doc/pattern.jax

+13-12
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858

5959
*n*
6060
n 最後の "/" か "?" を [count] 回繰り返します。
61+
カーソルが移動しないときは、検索は [count] + 1で繰り返
62+
されます。
6163
If the cursor doesn't move the search is repeated with
6264
count + 1.
6365
|last-pattern| {Vi: カウントの前置を受け付けません}
@@ -480,7 +482,7 @@ after: \v \m \M \V マッチするもの ~
480482
|/\%v| \%23v \%23v 23列目 (表示単位) |/zero-width|
481483

482484
文字クラス {Vi にはありません}: */character-classes*
483-
magic nomagic matches ~
485+
magic nomagic マッチするもの ~
484486
|/\i| \i \i 識別子文字 (オプション 'isident' を参照)
485487
|/\I| \I \I "\i" と同じですが、数字は除外します
486488
|/\k| \k \k キーワード文字 (オプション 'iskeyword' を参照)
@@ -511,7 +513,7 @@ after: \v \m \M \V マッチするもの ~
511513
マッチします。
512514
(文字クラスここまで)
513515

514-
magic nomagic matches ~
516+
magic nomagic マッチするもの ~
515517
|/\e| \e \e <Esc>
516518
|/\t| \t \t <Tab>
517519
|/\r| \r \r <CR>
@@ -537,7 +539,7 @@ after: \v \m \M \V マッチするもの ~
537539
|/\Z| \Z \Z Unicodeの合成文字かどうかを無視します。
538540
ヘブライ語やアラビア語で母音を検索するときに便利です。
539541

540-
magic nomagic matches ~
542+
magic nomagic マッチするもの ~
541543
|/\m| \m \m 以降のパターン文字を 'magic' がオンの状態で処理します
542544
|/\M| \M \M 以降のパターン文字を 'magic' がオフの状態で処理します
543545
|/\v| \v \v 以降のパターン文字を "very magic" で処理します
@@ -1052,11 +1054,10 @@ x 特別な意味のない文字は、その文字自身とマッチします
10521054
*E769*
10531055
']' がない場合、Vim はエラーを表示せず、コレクションが使われているので
10541056
はないと判断します。'[' を検索するときに便利です。しかし、Vim 内部での
1055-
検索では E769 のエラーがでます。 And be aware that in a
1056-
`:substitute` command the whole command becomes the pattern. E.g.
1057-
":s/[/x/" searches for "[/x" and replaces it with nothing. It does
1058-
not search for "[" and replaces it with "x"!
1059-
1057+
検索では E769 のエラーがでます。 そして、 `:substitute` コマンドでコマ
1058+
ンド全体がパターンとなることに注意してください。 例えば、 ":s/[/x/" は
1059+
"[/x"を検索します。置換はおこなわれません。 "[" を検索して "x" に置換
1060+
されるのではありません!
10601061
コレクション文字列の先頭が "^" の場合、 コレクションに含まれている文字
10611062
以外の文字がマッチします。"[^xyz]" は 'x'、'y'、'z' 以外の文字にマッチ
10621063
します。
@@ -1088,10 +1089,10 @@ x 特別な意味のない文字は、その文字自身とマッチします
10881089
す。たとえば、"[-./[:alnum:]_~]\+" は、UNIX のファイル名として妥当な
10891090
パターンです。このパターンは、'-'、'.'、'/'、英数字、'_'、'~'、のど
10901091
の文字の組合せでも、1 文字以上の文字列にマッチします。
1091-
These items only work for 8-bit characters, except [:lower:] and
1092-
[:upper:] also work for multi-byte characters when using the new
1093-
regexp engine. In the future these items may work for multi-byte
1094-
characters.
1092+
これらのものは、8 ビット文字のみマッチします。新しい正規表現エンジン
1093+
を使用している場合、[:lower:] と [:upper:] 以外はマルチバイト文字に
1094+
も作用します。将来的にはこれらの項目は、マルチバイト文字に作用するよ
1095+
うになるでしょう。
10951096
*/[[=* *[==]*
10961097
- 等価クラス。これはその文字とほぼ同じ文字にマッチします。例えば、アク
10971098
セントを無視するなど。これは Unicode、latin1、latin9 でのみ機能しま

0 commit comments

Comments
 (0)