Marc Weber wrote:

> > I fixed \F yesterday.  Hmm, but you say you include patch 981.
> > What is the Vim command to reproduce this?
> [1]
>  
> > >   let reg = 'ú\Z'
> > >   let t = ""
> > >   echo matchlist('\%#=1'.reg, t)
> > >   echo matchlist('\%#=2'.reg, t)
> > Isn't this the same for the old and the new engine?
> right, I can no loger reproduce the "" case for whatever reason !?
> strange. but t = "1" is still valid [2]

The test has the arguments swapped.  It should be:

   let reg = 'ú\Z'
   let t = "t"
   echo matchlist(t, '\%#=1'.reg)
   echo matchlist(t, '\%#=2'.reg)

Still fails.

> > Timing issue?
> 
> 
> how to reproduce [1] and [2]?
> 
> run in Vim uncommenting either case:
> 
> python << EOF

That's complicated. This should do the same:

    echo matchlist("1", '\%#=1ú\Z')
    echo matchlist("1", '\%#=2ú\Z')

It's the same problem as above.

The second one doesn't work like that, requires the NUL to be in a
buffer line?  No, I can't reproduce this.  Can you reproduce the
difference with any Vim search or expression?


-- 
FATAL ERROR! SYSTEM HALTED! - Press any key to continue doing nothing.

 /// 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/groups/opt_out.


Raspunde prin e-mail lui