0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

updated for version 7.4.032

Problem:    NFA engine does not match the NUL character. (Jonathon Merz)
Solution:   Ues 0x0a instead of NUL. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2013-09-22 13:57:24 +02:00
parent 00462ffb7d
commit 595cad2ea1
4 changed files with 8 additions and 1 deletions

View File

@@ -373,6 +373,7 @@ STARTTEST
:call add(tl, [2, '\%x20', 'yes no', ' '])
:call add(tl, [2, '\%u0020', 'yes no', ' '])
:call add(tl, [2, '\%U00000020', 'yes no', ' '])
:call add(tl, [2, '\%d0', "yes\x0ano", "\x0a"])
:"
:""""" \%[abc]
:call add(tl, [2, 'foo\%[bar]', 'fobar'])

View File

@@ -863,6 +863,9 @@ OK 2 - \%u0020
OK 0 - \%U00000020
OK 1 - \%U00000020
OK 2 - \%U00000020
OK 0 - \%d0
OK 1 - \%d0
OK 2 - \%d0
OK 0 - foo\%[bar]
OK 1 - foo\%[bar]
OK 2 - foo\%[bar]