diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-23 22:25:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-23 22:25:15 +0200 |
commit | 307d10a2fb15879cf34f7ecfdcaca551991014a8 (patch) | |
tree | 5b7ebd37ae927e8633cd2110164d19d63de4e2b3 | |
parent | 35b2386a8e416d5b2d1a4af9e6047802e845a76a (diff) | |
download | vim-307d10a2fb15879cf34f7ecfdcaca551991014a8.zip |
updated for version 7.3.1006
Problem: NFA engine not used for "\_[0-9]".
Solution: Enable this, fixed in patch 1005.
-rw-r--r-- | src/regexp_nfa.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 0bbed878f..157d3ebad 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -679,9 +679,7 @@ nfa_regatom() /* "\_[" is collection plus newline */ if (c == '[') - /* TODO: make this work - * goto collection; */ - return FAIL; + goto collection; /* "\_x" is character class plus newline */ /*FALLTHROUGH*/ @@ -891,8 +889,8 @@ nfa_regatom() } break; -/* collection: */ case Magic('['): +collection: /* * Glue is emitted between several atoms from the []. * It is either NFA_OR, or NFA_CONCAT. diff --git a/src/version.c b/src/version.c index b7c1ddfe7..b8835be3b 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1006, +/**/ 1005, /**/ 1004, |