diff options
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r-- | src/regexp_nfa.c | 6 |
1 files changed, 2 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. |