On Di, 21 Mai 2013, Christian Brabandt wrote:

> And also not supported yet are  \_[...] 
> collections.

BTW: This patch enables the \_[...] collections.

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 @@
 
            /* "\_[" is collection plus newline */
            if (c == '[')
-               /* TODO: make this work
-                * goto collection; */
-               return FAIL;
+                goto collection;
 
        /* "\_x" is character class plus newline */
        /*FALLTHROUGH*/
@@ -891,7 +889,7 @@
            }
            break;
 
-/* collection: */
+collection:
        case Magic('['):
            /*
             * Glue is emitted between several atoms from the [].


regards,
Christian
-- 
Skepsis ist das Zeichen - und sogar die Pose - des gebildeten
Verstandes.
                -- John Dewey

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui