Comment #5 on issue 287 by [email protected]: Newline substitution behaviour
https://code.google.com/p/vim/issues/detail?id=287

I just built 7.4.231 and checked the behavior of '1,3s/\n//'. The input (text between the triple-tick marks):

```
this
is
a
test
```

and after running ':1,3s/\n//' :

```
thisisatest
```

That is, the three newlines within the range are deleted. This means the correct optimization of the old :s behavior as a join is to join 4 lines. In light of this, I would suggest the post-7.4.232 should be viewed as a bug.

For reference, the output in vim 7.4.488 is now:

```
thisisa
test
```

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui