updated for version 7.4.184
Problem: match() does not work properly with a {count} argument.
Solution: Compute the length once and update it. Quit the loop when at the
end. (Hirohito Higashi)
diff --git a/src/testdir/test53.ok b/src/testdir/test53.ok
index e469869..d7ffa6b 100644
--- a/src/testdir/test53.ok
+++ b/src/testdir/test53.ok
@@ -18,6 +18,28 @@
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
@@ -30,4 +52,13 @@
text
Y
+--1
+
+--2
+
+--3
+DEPP
+--4
+DEPP
+--5
end: