Fix problem with gmatch on utf8 characters when using luajit

This commit is contained in:
Francesco Abbate 2020-11-29 14:43:14 +01:00
parent c722b56b7e
commit b118ac0c64
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ end
function common.utf8_chars(text)
return text:gmatch("[\0-\x7f\xc2-\xf4][\x80-\xbf]*")
return text:gmatch("[\x01-\x7f\xc2-\xf4][\x80-\xbf]*")
end