replace string.lower, string.upper with utf8 versions
This commit is contained in:
parent
3e86d49a7b
commit
329d4903d8
@ -159,6 +159,9 @@ function string.trim_left(s, char)
|
||||
return string.match(s, "^" .. char .. "*(.+)$") or s
|
||||
end
|
||||
|
||||
string.lower = utf8.lower
|
||||
string.upper = utf8.upper
|
||||
|
||||
local meta = getmetatable("")
|
||||
|
||||
function meta:__index(key)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user