Closed ichizok closed 6 years ago
t\ and T\ (searching backslash) cause a search error.
t\
T\
vimrc:
set rtp+=/path/to/clever-f.vim
vim -Nu vimrc
:normal! ia\a :normal! gg0 :normal t\
Error detected while processing function clever_f#find_with[58]..<SNR>23_mark_char_in_current_line: line 2: E53: Unmatched \%( E53: Unmatched \%( E475: Invalid argument: \%1l\C\V\_.\ze\%(\\)
Invalid regex pattern is generated.
You're correct. We should escape \ not to break regex. Thank you.
\
Problem
t\
andT\
(searching backslash) cause a search error.Repro steps
vimrc:
vim -Nu vimrc
Invalid regex pattern is generated.