Ben Fritz wrote:

> On Friday, August 29, 2014 8:12:34 PM UTC-5, James McCoy wrote:
> > On Fri, Aug 29, 2014 at 11:58:09AM +0200, Bram Moolenaar wrote:
> > > 
> > > Patch 7.4.421
> > > Problem:    Crash when searching for "\ze*". (Urtica Dioica)
> > > Solution:   Disallow a multi after \ze and \zs.
> > 
> > This now behaves differently than the original regex engine.  With
> > "set re=1", /\ze* matches every position.  Should the behavior be
> > unified, one way or the other?
> 
> I'm pretty sure \ze* should be an invalid pattern, not match everything.

Yes, that's what I thought.  So we could also change the old engine.
Anybody who would have a problem with that?
Since it's a separate place in the code it can be a separate patch.

-- 
>From "know your smileys":
 (:-#   Said something he shouldn't have

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui