> Your solution seems powerful.
>
> My example was not so good. This is a new :
>
> Several cases are to be resolved :
>
> First case
> ____________
> foo1;foo2;foo3;;;;;
> ;foo2;foo3;;;;;
>
> Has to become
> foo1;foo2;foo3;;;;;
> foo1;foo2;foo3;;;;;
>
> Second case
> ____________
> foo1;foo2;foo3;;;;;
> foo1;;;;;;;
>
> Has to become
> foo1;foo2;foo3;;;;;
> foo1;foo2;foo3;;;;;
>
> Third case
> ____________
> foo1;foo2;foo3;;;;;
> foo1;;foo3;;;;;
>
> Has to become
> foo1;foo2;foo3;;;;;
> foo1;foo2;foo3;;;;;
>
>
What exactly did not work? Testing Tim's solution on your
cases works for me.
regards,
Christian
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment