summaryrefslogtreecommitdiff
path: root/src/testdir/test64.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-05-13 16:44:29 +0200
committerBram Moolenaar <Bram@vim.org>2014-05-13 16:44:29 +0200
commit9c235069b237caed426eff14ce91df46bc69e234 (patch)
treedb5fcf6c6c3f5dc2e41749130719f5d17e2bdbe7 /src/testdir/test64.ok
parentee4825331aeb3f517f8a51d0c21c743655352fb3 (diff)
downloadvim-git-9c235069b237caed426eff14ce91df46bc69e234.tar.gz
updated for version 7.4.290v7.4.290
Problem: A non-greedy match followed by a branch is too greedy. (Ingo Karkat) Solution: Add NFA_MATCH when it is already in the state list if the position differs.
Diffstat (limited to 'src/testdir/test64.ok')
-rw-r--r--src/testdir/test64.ok12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok
index 9fb6c60b9..e7d173141 100644
--- a/src/testdir/test64.ok
+++ b/src/testdir/test64.ok
@@ -533,6 +533,18 @@ OK 2 - \v(a{1,2}){-2,3}
OK 0 - \v(a{-1,3})+
OK 1 - \v(a{-1,3})+
OK 2 - \v(a{-1,3})+
+OK 0 - ^\s\{-}\zs\( x\|x$\)
+OK 1 - ^\s\{-}\zs\( x\|x$\)
+OK 2 - ^\s\{-}\zs\( x\|x$\)
+OK 0 - ^\s\{-}\zs\(x\| x$\)
+OK 1 - ^\s\{-}\zs\(x\| x$\)
+OK 2 - ^\s\{-}\zs\(x\| x$\)
+OK 0 - ^\s\{-}\ze\(x\| x$\)
+OK 1 - ^\s\{-}\ze\(x\| x$\)
+OK 2 - ^\s\{-}\ze\(x\| x$\)
+OK 0 - ^\(\s\{-}\)\(x\| x$\)
+OK 1 - ^\(\s\{-}\)\(x\| x$\)
+OK 2 - ^\(\s\{-}\)\(x\| x$\)
OK 0 - \d\+e\d\d
OK 1 - \d\+e\d\d
OK 2 - \d\+e\d\d