Characters matching the regex \s\S\n\zs\S are not recognized by the regex \_s\zs\S although they should.
The funny thing is that the 'hlsearch' highlighting actually recognizes them as a valid matches.
To reproduce this:
1
2
3
4
5 .
6
7
set hlsearchset listchars=eol:~,space:@
set list
/\_s\zs\Sn and N and note how neither '2' nor '6' are matched by the regex despite being highlighted.In general, the unmatched characters follow the pattern \s\S\n\zs\S
This also happens with the search() function.
All numbers should be highlighted AND matched by the regex. Thus, being accessible via the n or N commands in normal mode.
9.0.0916
OS: Windows 10
This happens on the CMD, PowerShell and on GVIM.
No response
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Closed #11617 as completed via c96311b.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()