Describe the bug
When using the visualstar feature on a selection containing multiple forward slashes, only the first slash is escaped in the regex used for the search.
To Reproduce
Paste the following text into a file
//a
//a
Select //a in visual mode
Press * (with vim.visualstar enabled in settings)
Observe no matches (the regex used is \//a)
Expected behavior
The regex used for the search should be \/\/a
Environment (please complete the following information):
Describe the bug When using the visualstar feature on a selection containing multiple forward slashes, only the first slash is escaped in the regex used for the search.
To Reproduce
//a
in visual mode*
(withvim.visualstar
enabled in settings)\//a
)Expected behavior The regex used for the search should be
\/\/a
Environment (please complete the following information):