guillermooo / Vintageous

Vi/Vim emulation for Sublime Text 3
http://guillermooo.bitbucket.org/Vintageous/
Other
1.64k stars 115 forks source link

Simple regex using ^ doesn't work in Vintageous but does work in Vim #1066

Open 99arobe opened 8 years ago

99arobe commented 8 years ago

The following regex to just remove new lines doesn't work in Vintageous but it does work in Vim.

:%s/^\n//g

However, removing the caret ^ symbol to match the beginning of the line does work (but obviously doesn't match the beginning of the line anymore).

Is there a reason why ^ wouldn't work like this?