repo.or.cz
/
MacVim.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote branch 'svn-vim' into vim
[MacVim.git]
/
src
/
testdir
/
test43.in
blob
26f0e0c9a93f64e73585db58ee9f7e26be84c0e1
1
Tests for regexp with various magic settings.
2
3
STARTTEST
4
:set nocompatible viminfo+=nviminfo
5
/^1
6
/a*b\{2}c\+/e
7
x/\Md\*e\{2}f\+/e
8
x:set nomagic
9
/g\*h\{2}i\+/e
10
x/\mj*k\{2}l\+/e
11
x/\vm*n{2}o+/e
12
x/\V^aa$
13
x:set magic
14
/\v(a)(b)\2\1\1/e
15
x/\V[ab]\(\[xy]\)\1
16
x:?^1?,$w! test.out
17
:qa!
18
ENDTEST
19
20
1 a aa abb abbccc
21
2 d dd dee deefff
22
3 g gg ghh ghhiii
23
4 j jj jkk jkklll
24
5 m mm mnn mnnooo
25
6 x ^aa$ x
26
7 (a)(b) abbaa
27
8 axx [ab]xx