Skip to content

Commit

Permalink
translated.
Browse files Browse the repository at this point in the history
  • Loading branch information
h-east committed Jan 31, 2016
1 parent f8de019 commit 739006b
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions doc/pattern.jax
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@

*n*
n 最後の "/" か "?" を [count] 回繰り返します。
カーソルが移動しないときは、検索は [count] + 1で繰り返
されます。
If the cursor doesn't move the search is repeated with
count + 1.

This comment has been minimized.

Copy link
@koron

koron Jan 31, 2016

Member

翻訳済みの英文を消してください。

|last-pattern| {Vi: カウントの前置を受け付けません}
Expand Down Expand Up @@ -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' を参照)
Expand Down Expand Up @@ -511,7 +513,7 @@ after: \v \m \M \V マッチするもの ~
マッチします。
(文字クラスここまで)

magic nomagic matches ~
magic nomagic マッチするもの ~
|/\e| \e \e <Esc>
|/\t| \t \t <Tab>
|/\r| \r \r <CR>
Expand All @@ -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" で処理します
Expand Down Expand Up @@ -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" に置換
されるのではありません!

This comment has been minimized.

Copy link
@koron

koron Jan 31, 2016

Member

されるする のほうが良いでしょう。

コレクション文字列の先頭が "^" の場合、 コレクションに含まれている文字
以外の文字がマッチします。"[^xyz]" は 'x'、'y'、'z' 以外の文字にマッチ
します。
Expand Down Expand Up @@ -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 でのみ機能しま
Expand Down

0 comments on commit 739006b

Please sign in to comment.