On Thu, 1 Nov 2001, Jonah wrote:
> vim help lists the meta-character "\_$" as "end of line, used anywhere",
> as distinct from "$", the normal end of line meta-character.
> Since VIM searches line by line (I think), I'm confused about when,
> even hypothetically, you could search for an end of line character
> other than actually at the end of a line.
Vim is able to do multiline regex-searches (i think this is a new feature
example of the case you described:
Searching a buffer like this:
with an expression like this:
does NOT find a match, while an exprssion like this:
note that '\n' is a synonym (I think) to '\_$\_.', since the next
character after the "logical" line has ended is bound to be the
newline-char (but, of course, this won't match to EOF)
"Kalle" Karl-Mikael Bjorklid