mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18:18 +00:00
Replace vim_iswhite with ascii_iswhite() defined in ascii.h
This commit is contained in:
@@ -3993,14 +3993,14 @@ regmatch (
|
||||
break;
|
||||
|
||||
case WHITE:
|
||||
if (!vim_iswhite(c))
|
||||
if (!ascii_iswhite(c))
|
||||
status = RA_NOMATCH;
|
||||
else
|
||||
ADVANCE_REGINPUT();
|
||||
break;
|
||||
|
||||
case NWHITE:
|
||||
if (c == NUL || vim_iswhite(c))
|
||||
if (c == NUL || ascii_iswhite(c))
|
||||
status = RA_NOMATCH;
|
||||
else
|
||||
ADVANCE_REGINPUT();
|
||||
|
Reference in New Issue
Block a user