diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-25 14:42:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-25 14:42:03 +0200 |
commit | 56d58d51bfefe428c9fcbb6dd0e87b08c0ea30b2 (patch) | |
tree | cc89237fcf74e6d151eedae7e53a30e010ba4ff8 /src/testdir/test95.in | |
parent | 152e7890c17df2e34ae993863be8c6445183222b (diff) | |
download | vim-56d58d51bfefe428c9fcbb6dd0e87b08c0ea30b2.zip |
updated for version 7.3.1015
Problem: New regexp engine: Matching composing characters is wrong.
Solution: Fix matching composing characters.
Diffstat (limited to 'src/testdir/test95.in')
-rw-r--r-- | src/testdir/test95.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/testdir/test95.in b/src/testdir/test95.in index 5e4822051..2484ace1a 100644 --- a/src/testdir/test95.in +++ b/src/testdir/test95.in @@ -38,6 +38,15 @@ STARTTEST :"""" Test composing character matching :call add(tl, ['.ม', 'xม่x yมy', 'yม']) :call add(tl, ['.ม่', 'xม่x yมy', 'xม่']) +:call add(tl, ["\u05b9", " x\u05b9 ", "x\u05b9"]) +:call add(tl, [".\u05b9", " x\u05b9 ", "x\u05b9"]) +:call add(tl, ["\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"]) +:call add(tl, [".\u05b9\u05bb", " x\u05b9\u05bb ", "x\u05b9\u05bb"]) +:call add(tl, ["\u05bb\u05b9", " x\u05b9\u05bb "]) +:call add(tl, [".\u05bb\u05b9", " x\u05b9\u05bb "]) +:call add(tl, ["\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"]) +:call add(tl, [".\u05b9", " y\u05bb x\u05b9 ", "x\u05b9"]) + :"""" Test \Z :call add(tl, ['ú\Z', 'x']) @@ -50,6 +59,8 @@ STARTTEST :call add(tl, ["ק\u200d\u05b9x\\Z", "xק\u200dxy", "ק\u200dx"]) :call add(tl, ["ק\u200dx\\Z", "xק\u200d\u05b9xy", "ק\u200d\u05b9x"]) :call add(tl, ["ק\u200dx\\Z", "xק\u200dxy", "ק\u200dx"]) +:call add(tl, ["\u05b9\\+\\Z", "xyz", "xyz"]) +:call add(tl, ["\\Z\u05b9\\+", "xyz", "xyz"]) :"""" Combining different tests and features :call add(tl, ['[^[=a=]]\+', 'ddaãâbcd', 'dd']) |