|
On Mon, Oct 22, 2018 at 12:33 PM Dirk Laurie wrote:Is there a standard locale in which character class %s matches the
hardspace character?
Yes, of course.
For example, Russian Windows locale.
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
> os.setlocale""
Russian_Russia.1251
> for code = 0, 255 do
>> if string.char(code):match"%s" then
>> print(code)
>> end
>> end
9
10
11
12
13
32
160
>