From 739006bf724c8eeda8f5b40cd15c2e7f9aa49eac Mon Sep 17 00:00:00 2001 From: h-east Date: Sun, 31 Jan 2016 11:48:14 +0900 Subject: [PATCH] translated. --- doc/pattern.jax | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/doc/pattern.jax b/doc/pattern.jax index a01286a41..bb34d593b 100644 --- a/doc/pattern.jax +++ b/doc/pattern.jax @@ -58,6 +58,8 @@ *n* n 最後の "/" か "?" を [count] 回繰り返します。 + カーソルが移動しないときは、検索は [count] + 1で繰り返 + されます。 If the cursor doesn't move the search is repeated with count + 1. |last-pattern| {Vi: カウントの前置を受け付けません} @@ -480,7 +482,7 @@ after: \v \m \M \V マッチするもの ~ |/\%v| \%23v \%23v 23列目 (表示単位) |/zero-width| 文字クラス {Vi にはありません}: */character-classes* - magic nomagic matches ~ + magic nomagic マッチするもの ~ |/\i| \i \i 識別子文字 (オプション 'isident' を参照) |/\I| \I \I "\i" と同じですが、数字は除外します |/\k| \k \k キーワード文字 (オプション 'iskeyword' を参照) @@ -511,7 +513,7 @@ after: \v \m \M \V マッチするもの ~ マッチします。 (文字クラスここまで) - magic nomagic matches ~ + magic nomagic マッチするもの ~ |/\e| \e \e |/\t| \t \t |/\r| \r \r @@ -537,7 +539,7 @@ after: \v \m \M \V マッチするもの ~ |/\Z| \Z \Z Unicodeの合成文字かどうかを無視します。 ヘブライ語やアラビア語で母音を検索するときに便利です。 - magic nomagic matches ~ + magic nomagic マッチするもの ~ |/\m| \m \m 以降のパターン文字を 'magic' がオンの状態で処理します |/\M| \M \M 以降のパターン文字を 'magic' がオフの状態で処理します |/\v| \v \v 以降のパターン文字を "very magic" で処理します @@ -1052,11 +1054,10 @@ x 特別な意味のない文字は、その文字自身とマッチします *E769* ']' がない場合、Vim はエラーを表示せず、コレクションが使われているので はないと判断します。'[' を検索するときに便利です。しかし、Vim 内部での - 検索では E769 のエラーがでます。 And be aware that in a - `:substitute` command the whole command becomes the pattern. E.g. - ":s/[/x/" searches for "[/x" and replaces it with nothing. It does - not search for "[" and replaces it with "x"! - + 検索では E769 のエラーがでます。 そして、 `:substitute` コマンドでコマ + ンド全体がパターンとなることに注意してください。 例えば、 ":s/[/x/" は + "[/x"を検索します。置換はおこなわれません。 "[" を検索して "x" に置換 + されるのではありません! コレクション文字列の先頭が "^" の場合、 コレクションに含まれている文字 以外の文字がマッチします。"[^xyz]" は 'x'、'y'、'z' 以外の文字にマッチ します。 @@ -1088,10 +1089,10 @@ x 特別な意味のない文字は、その文字自身とマッチします す。たとえば、"[-./[:alnum:]_~]\+" は、UNIX のファイル名として妥当な パターンです。このパターンは、'-'、'.'、'/'、英数字、'_'、'~'、のど の文字の組合せでも、1 文字以上の文字列にマッチします。 - These items only work for 8-bit characters, except [:lower:] and - [:upper:] also work for multi-byte characters when using the new - regexp engine. In the future these items may work for multi-byte - characters. + これらのものは、8 ビット文字のみマッチします。新しい正規表現エンジン + を使用している場合、[:lower:] と [:upper:] 以外はマルチバイト文字に + も作用します。将来的にはこれらの項目は、マルチバイト文字に作用するよ + うになるでしょう。 */[[=* *[==]* - 等価クラス。これはその文字とほぼ同じ文字にマッチします。例えば、アク セントを無視するなど。これは Unicode、latin1、latin9 でのみ機能しま