updated for version 7.4.050
Problem: "gn" selects too much for the pattern "\d" when there are two
lines with a single digit. (Ryan Carney)
Solution: Adjust the logic of is_one_char(). (Christian Brabandt)
diff --git a/src/testdir/test53.in b/src/testdir/test53.in
index 2cc7d10..47cf6f5 100644
--- a/src/testdir/test53.in
+++ b/src/testdir/test53.in
@@ -46,6 +46,9 @@
:set selection=exclusive
$cgNmongoose/i
cgnj
+:" Make sure there is no other match y uppercase.
+/x59
+gggnd
:/^start:/,/^end:/wq! test.out
ENDTEST
@@ -75,4 +78,7 @@
uniquepattern uniquepattern
my very excellent mother just served us nachos
for (i=0; i<=10; i++)
+Y
+text
+Y
end:
diff --git a/src/testdir/test53.ok b/src/testdir/test53.ok
index 40031ed..e469869 100644
--- a/src/testdir/test53.ok
+++ b/src/testdir/test53.ok
@@ -27,4 +27,7 @@
uniquepattern
my very excellent mongoose just served us nachos
for (j=0; i<=10; i++)
+
+text
+Y
end: