Hi,

^ is documented as:

^       At beginning of pattern or after "\|", "\(", "\%(" or "\n": matches
        start-of-line; at other positions, matches literal '^'. |/zero-width|

$ on the other hand is documented as:

$       At end of pattern or in front of "\|" or "\)" ("|" or ")" after "\v"):
        matches end-of-line <EOL>; at other positions, matches literal '$'.

I'm having the impression that $ in front of "\n" and "\%(" matches  
<EOL> as well. Must the documentation be updated?

Nico

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

Raspunde prin e-mail lui