Hirohito Higashi wrote:

> Hi, Bram
> 
> I found NFA regexp engine bug.
> 
> Prerequisite
> vim 7.3.1004
> set re=0
> 
> How to reproduce
> vim -N -u NONE -i NONE --noplugin
> o<Esc>
> /\n*    or   /\_.*
> 
> Actual 
> gone infinite loop.
> 
> How to take back control. (on linux)
> pgrep -lf
> kill -9 nnn           <-- nnn is vim process number checked by pgrep.
> 
> 
> I attached patch.
> Please check this.

Great to see a patch for a regexp bug.  I'll try it out tonight.

It would be nice if we can add a test for every problem we find,
so that we make sure it doesn't come back later.

-- 
CART DRIVER: Bring out your dead!
   There are legs stick out of windows and doors.  Two MEN are fighting in the
   mud - covered from head to foot in it.  Another MAN is on his hands in
   knees shovelling mud into his mouth.  We just catch sight of a MAN falling
   into a well.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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