Bram Moolenaar wrote: > *** ../vim-8.0.1415/src/testdir/test_search.vim 2017-12-16 19:59:30.559719124 > +0100 > --- src/testdir/test_search.vim 2017-12-19 21:17:46.704212089 +0100 > *************** > *** 729,731 **** > --- 729,738 ---- > call search(getline(".")) > bwipe! > endfunc > + > + func Test_search_sentence() > + new > + " this used to cause a crash > + call assert_fails("/\\%'", 'E486') > + call assert_fails("/", 'E486') > + endfunc
Hi Bram I think that the test was meant to do: call assert_fails("/\\%')", 'E486') Notice the added parenthesis since \%') matches mark ) i.e. the end of sentence. Regards Dominique -- -- 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/d/optout.