summaryrefslogtreecommitdiff
path: root/src/testdir/test64.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-15 15:09:50 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-15 15:09:50 +0200
commit141f6bb34124872d8676066e021bf899d4023c23 (patch)
tree799f4523cac94dff9e470b493457310376999a82 /src/testdir/test64.ok
parent4cff8faf0567209ab95b39b9cf7f3d555162392e (diff)
downloadvim-git-141f6bb34124872d8676066e021bf899d4023c23.tar.gz
updated for version 7.3.1196v7.3.1196
Problem: Old regexp engine does not match pattern with backref correctly. (Dominique Pelle) Solution: Fix setting status. Test multi-line patterns better.
Diffstat (limited to 'src/testdir/test64.ok')
-rw-r--r--src/testdir/test64.ok27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok
index fe14fbd3f..48694fb51 100644
--- a/src/testdir/test64.ok
+++ b/src/testdir/test64.ok
@@ -857,6 +857,9 @@ OK 2 - \(a\)\(b\)\(c\)\(dd\)\(e\)\(f\)\(g\)\(h\)\(i\)\1\2\3\4\5\6\7\8\9
OK 0 - \(\d*\)a \1b
OK 1 - \(\d*\)a \1b
OK 2 - \(\d*\)a \1b
+OK 0 - ^.\(.\).\_..\1.
+OK 1 - ^.\(.\).\_..\1.
+OK 2 - ^.\(.\).\_..\1.
OK 0 - <\@<=span.
OK 1 - <\@<=span.
OK 2 - <\@<=span.
@@ -910,17 +913,25 @@ OK 2 - \_[^a]\+
OK 0 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
OK 1 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
OK 2 - [0-9a-zA-Z]\{8}-\([0-9a-zA-Z]\{4}-\)\{3}[0-9a-zA-Z]\{12}
-192.168.0.1
-192.168.0.1
-192.168.0.1
+multi-line tests
+OK 0 - ^.\(.\).\_..\1.
+OK 1 - ^.\(.\).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