Including \n in a character class makes it match newline, but this is
true even if it is a negated character class. Thus, the paradoxical
/\n\&[^\n]/ does match, and including \n in a negated character class
that otherwise doesn't match newline, makes it match newline anyway.
This is true for both actual newline in a string and end-of-line in a
buffer.
Greets,
Timo Frenay.
--
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