> :s/\v(\d\.\s*)@<=\s/0/g
> 
> This does work.

Nice, AP. I had believed (I thought on the basis of having run some tests...) 
that
\zs was just syntactic sugar for \@<= and that they thus behaved the same way, 
so
didn't even try it, though I thought of it. Obviously I was wrong!

There may be many ways after all!

Ben.





--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui