2007-12-12 検索でbarの前にfooの付いてないbarだけを探すとき vim \(foo\)\@<!bar "foobar" 以外の "bar" foo\(bar\)\@! 後ろに "bar" のない "foo" Vim documentation: pattern