diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-26 17:45:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-26 17:45:49 +0200 |
commit | 61db8b5108f2f08264e72bd1c55f5b32f5a64c34 (patch) | |
tree | 870595c97f2a63c2e3b814d7765c7f3cf0c57901 /src/testdir | |
parent | 57a285b105478be7bff338d8ae7847b40f58434a (diff) | |
download | vim-61db8b5108f2f08264e72bd1c55f5b32f5a64c34.zip |
updated for version 7.3.1025
Problem: New regexp: not matching newline in string. (Marc Weber)
Solution: Check for "\n" character.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test64.in | 3 | ||||
-rw-r--r-- | src/testdir/test64.ok | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/testdir/test64.in b/src/testdir/test64.in index 1ad33d930..8d0f53597 100644 --- a/src/testdir/test64.in +++ b/src/testdir/test64.in @@ -250,6 +250,9 @@ STARTTEST :call add(tl, [2, 'abc[0-9]*ddd', 'adf abc44482ddd oijs', 'abc44482ddd']) :call add(tl, [2, '\_[0-9]\+', 'asfi9888u', '9888']) :call add(tl, [2, '[0-9\n]\+', 'asfi9888u', '9888']) +:call add(tl, [2, '\_[0-9]\+', "asfi\n9888u", "\n9888"]) +:call add(tl, [2, '\_f', " \na ", "\n"]) +:call add(tl, [2, '\_f\+', " \na ", "\na"]) :" :" :"""" Test recognition of some character classes diff --git a/src/testdir/test64.ok b/src/testdir/test64.ok index 31052fb46..40b02cdfa 100644 --- a/src/testdir/test64.ok +++ b/src/testdir/test64.ok @@ -576,6 +576,15 @@ OK 2 - \_[0-9]\+ OK 0 - [0-9\n]\+ OK 1 - [0-9\n]\+ OK 2 - [0-9\n]\+ +OK 0 - \_[0-9]\+ +OK 1 - \_[0-9]\+ +OK 2 - \_[0-9]\+ +OK 0 - \_f +OK 1 - \_f +OK 2 - \_f +OK 0 - \_f\+ +OK 1 - \_f\+ +OK 2 - \_f\+ OK 0 - [0-9] OK 1 - [0-9] OK 2 - [0-9] |