Thomas Michael Engelke wrote:
In the programming language I currently write, using the
seperator string somewhere in the string I'm parsing gives a
new entry. So a string containing only a line seperator
char/pattern would have 2 entries, which in this case would
mean 2 lines. As I see now, this is handled differently in
vim.

Sorry to beat this really dead horse, but it's not Vim which
handles this differently! End-of-line has always been a
terminator, not a separator (as Tony explained earlier).

I've had a closer look at the file you attached:
- All lines end with CR LF, except for three lines.
- Two lines end with CR only.
- One line (the last) ends with LF only.

John

Reply via email to