diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-26 15:14:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-26 15:14:55 +0200 |
commit | 3451d662447cf0e78ebd55320d26791f228123f2 (patch) | |
tree | 4f0a6053eaec6f65af373dddbb4c70346143ec80 /src/testdir | |
parent | 7cd4d9c17c0f56f2653bc6f4d2d0b66e7afe9c94 (diff) | |
download | vim-3451d662447cf0e78ebd55320d26791f228123f2.zip |
updated for version 7.3.1023
Problem: Searching for composing char only and using \Z has different
results.
Solution: Make it match the composing char, matching everything is not
useful.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test95.in | 10 | ||||
-rw-r--r-- | src/testdir/test95.ok | 16 |
2 files changed, 22 insertions, 4 deletions
diff --git a/src/testdir/test95.in b/src/testdir/test95.in index 0f678794e..111d87758 100644 --- a/src/testdir/test95.in +++ b/src/testdir/test95.in @@ -62,10 +62,12 @@ STARTTEST :call add(tl, [2, "ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"]) :call add(tl, [2, "ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"]) :call add(tl, [2, "ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"]) -:"call add(tl, [2, "\u05b9\\Z", "xyz"]) -:"call add(tl, [2, "\\Z\u05b9", "xyz"]) -:"call add(tl, [2, "\u05b9\\+\\Z", "xyz", "xyz"]) -:"call add(tl, [2, "\\Z\u05b9\\+", "xyz", "xyz"]) +:call add(tl, [2, "\u05b9\\Z", "xyz"]) +:call add(tl, [2, "\\Z\u05b9", "xyz"]) +:call add(tl, [2, "\u05b9\\Z", "xy\u05b9z", "y\u05b9"]) +:call add(tl, [2, "\\Z\u05b9", "xy\u05b9z", "y\u05b9"]) +:call add(tl, [1, "\u05b9\\+\\Z", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"]) +:call add(tl, [1, "\\Z\u05b9\\+", "xy\u05b9z\u05b9 ", "y\u05b9z\u05b9"]) :"""" Combining different tests and features :call add(tl, [2, '[^[=a=]]\+', 'ddaãâbcd', 'dd']) diff --git a/src/testdir/test95.ok b/src/testdir/test95.ok index 3fafb8f52..b9cdd2e18 100644 --- a/src/testdir/test95.ok +++ b/src/testdir/test95.ok @@ -94,6 +94,22 @@ OK 2 - קx\Z OK 0 - קx\Z OK 1 - קx\Z OK 2 - קx\Z +OK 0 - ֹ\Z +OK 1 - ֹ\Z +OK 2 - ֹ\Z +OK 0 - \Zֹ +OK 1 - \Zֹ +OK 2 - \Zֹ +OK 0 - ֹ\Z +OK 1 - ֹ\Z +OK 2 - ֹ\Z +OK 0 - \Zֹ +OK 1 - \Zֹ +OK 2 - \Zֹ +OK 0 - ֹ\+\Z +OK 2 - ֹ\+\Z +OK 0 - \Zֹ\+ +OK 2 - \Zֹ\+ OK 0 - [^[=a=]]\+ OK 1 - [^[=a=]]\+ OK 2 - [^[=a=]]\+ |