view src/testdir/test53.ok @ 6723:eefee03a37fe v7.4.685

updated for version 7.4.685 Problem: When there are illegal utf-8 characters the old regexp engine may go past the end of a string. Solution: Only advance to the end of the string. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Tue, 31 Mar 2015 14:17:31 +0200
parents 950e24f26ef8
children 847518911c0b
line wrap: on
line source

start: foo
xxxxxxxxxxxx'piep'
bla bla blah
out " in ""
"'" 'blah'yyyyy'buh'
bla `` b`la
voo "zzzzzzzzzzzzzzzzzzzzzzzzzzzzsd

<begin>
-<b>asdf<i></i>asdf</b>-
-<b></b>-
-<b>asdfasdf</b>-
--
-<b></b>
</begin>
b
bc
c
a
-1
0
0
1
2
-1
1
2
-1
3
-1
3
3
3
-1
0
1
2
3
-1
1
2
3
-1
SEARCH:
searchmatch
abcdx |  | abcdx
join lines
zerowidth pattern
elete first and last char
 uniquepattern
my very excellent mongoose just served us nachos
for (j=0; i<=10; i++)
a:10

a:1
1

a:20

text
Y
--1

--2

--3
DEPP
--4
DEPP
--5
end: