updated for version 7.3.1010
Problem: New regexp: adding \Z makes every character match.
Solution: Only apply ireg_icombine for composing characters.
Alsl add missing change from patch 1008. (Ken Takata)
diff --git a/src/testdir/test95.in b/src/testdir/test95.in
index 41e3f78..e332b97 100644
--- a/src/testdir/test95.in
+++ b/src/testdir/test95.in
@@ -7,7 +7,7 @@
STARTTEST
:so small.vim
:so mbyte.vim
-:set nocp encoding=utf-8 viminfo+=nviminfo
+:set nocp encoding=utf-8 viminfo+=nviminfo nomore
:" tl is a List of Lists with:
:" regexp pattern
:" text to test the pattern on
@@ -35,11 +35,13 @@
:call add(tl, ['\f\+', '&*fname ', 'fname'])
:call add(tl, ['\%#=1\f\+', '&*fname ', 'fname'])
+:"""" Test \Z
+:call add(tl, ['ú\Z', 'x'])
+
:"""" Combining different tests and features
:call add(tl, ['[^[=a=]]\+', 'ddaãâbcd', 'dd'])
:"""" Run the tests
-
:"
:for t in tl
: let l = matchlist(t[1], t[0])
diff --git a/src/testdir/test95.ok b/src/testdir/test95.ok
index 4c1f0ca..23d2284 100644
--- a/src/testdir/test95.ok
+++ b/src/testdir/test95.ok
@@ -9,4 +9,5 @@
OK - \%#=1\i\+
OK - \f\+
OK - \%#=1\f\+
+OK - ú\Z
OK - [^[=a=]]\+