function! s:foo() normal! yiw if @" =~# '\vf[0-9]b\(' echom 'Matches!' endif endfunction nnoremap <silent> * :<c-u>call <sid>foo()<cr> " f2b⣿(
When my cursor position is
⣿ and I press *, why doesn't it say 'Matches!'.
I just can't get any braces to match (
I would also be very happy about any recommended references, as I
h regex or
h =~ isn't really helpful, as it just covers the basics...