LoginSignup
0
1

More than 1 year has passed since last update.

Vim | 正規表現でプラス ( + ) が使えない ( クエスチョンマーク、パイプ、アンド、ブレース、丸カッコも )

Last updated at Posted at 2016-12-08

解決

プラス (+ ) を バックスラッシュ ( \ ) でエスケープしよう。

Bの連続を置換する場合の例。

image

image

問題

正規表現の + が使えない。

image

image

備考

  • クエスチョン ( ? ) パイプ ( | ) アンド ( & ) ブレース ( { ) 丸カッコ ( ( ) )もエスケープする必要がある。

環境

  • Vim 7.3

参考

+, ?, |, &, {, (, and ) must be escaped to use their special function.

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

0
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1