diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-07-21 18:59:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-07-21 18:59:24 +0200 |
commit | 196ed14d15f27d91856fd2f415da53f3f5db6c10 (patch) | |
tree | 3d76f5dfc0cfa2d5fcae3d0b51b0e2d78629b2d6 /src/testdir | |
parent | 9d48895e4c65e54d0436b76e48336e3c2ace0bf6 (diff) | |
download | vim-196ed14d15f27d91856fd2f415da53f3f5db6c10.zip |
updated for version 7.4a.039
Problem: New regexp engine doesn't match pattern. (Ingo Karkat)
Solution: When adding a state also check for different PIM if the list of
states has any state with a PIM.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test64.in | 1 | ||||
-rw-r--r-- | src/testdir/test64.ok | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index a946aa450..82669b047 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -341,6 +341,7 @@ STARTTEST :call add(tl, [2, '^\%(.*bar\)\@!.*\zsfoo', ' foo xxx ', 'foo']) :call add(tl, [2, '[ ]\@!\p\%([ ]\@!\p\)*:', 'implicit mappings:', 'mappings:']) :call add(tl, [2, 'm\k\+_\@=\%(_\@!\k\)\@<=\k\+e', 'mx__xe', 'mx__xe']) +:call add(tl, [2, '\%(\U\@<=S\k*\|S\l\)R', 'SuR', 'SuR']) :" :"""" Combining different tests and features :call add(tl, [2, '[[:alpha:]]\{-2,6}', '787abcdiuhsasiuhb4', 'ab']) diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index efcf8dd50..d08227f2c 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -779,6 +779,9 @@ OK 2 - [ ]\@!\p\%([ ]\@!\p\)*: OK 0 - m\k\+_\@=\%(_\@!\k\)\@<=\k\+e OK 1 - m\k\+_\@=\%(_\@!\k\)\@<=\k\+e OK 2 - m\k\+_\@=\%(_\@!\k\)\@<=\k\+e +OK 0 - \%(\U\@<=S\k*\|S\l\)R +OK 1 - \%(\U\@<=S\k*\|S\l\)R +OK 2 - \%(\U\@<=S\k*\|S\l\)R OK 0 - [[:alpha:]]\{-2,6} OK 1 - [[:alpha:]]\{-2,6} OK 2 - [[:alpha:]]\{-2,6} |