blob: 84721d992c3b326db33beda4ce384b257c28d92f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Tests for regexp with backslash and other special characters inside []
STARTTEST
:set nocompatible viminfo+=nviminfo
/[\x]
x/[\t\]]
x/[]y]
x/[\]]
x/[y^]
x/[$y]
x:?start?,$w! test.out
:qa!
ENDTEST
start
test \text test text
test text test text
test text ]test text
test ]text test text
test text te^st text
test te$xt test text
|