# HG changeset patch # User Bram Moolenaar # Date 1369340715 -7200 # Node ID 9a2183bd829502597d52f22a1c27fec8399298fd # Parent 05b791824368e335c7aec6e5abdf2e8679f5317c updated for version 7.3.1006 Problem: NFA engine not used for "\_[0-9]". Solution: Enable this, fixed in patch 1005. diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c --- 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 --- 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,