On Dec 30, 9:56 pm, Bill McCarthy <[EMAIL PROTECTED]> wrote:

>
> I'm not sure this is related but:
>
>     :1s/\%(g\n\)\@<=1//
>
> produces:
>
>     E486: Pattern not found: \%(g\n\)\@<=1

No, thats ok, because the pattern after the '\@<='
, which is '1', is tried first. Since there is no match
in the 1st line you get an error.
This is documented at ':h \@<='.

-ap



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

Raspunde prin e-mail lui