diff options
| author | Francesco Abbate <francesco.bbt@gmail.com> | 2020-11-29 14:43:14 +0100 |
|---|---|---|
| committer | Francesco Abbate <francesco.bbt@gmail.com> | 2020-11-29 14:43:14 +0100 |
| commit | b118ac0c64124986a6ededd53db66b11b2128b93 (patch) | |
| tree | 1286b3495754774959877bdb5124e1ca6a668e71 | |
| parent | c722b56b7e96b08b90a2d707ece6830ea98afc2d (diff) | |
| download | lite-xl-using-luajit.tar.gz lite-xl-using-luajit.zip | |
Fix problem with gmatch on utf8 characters when using luajitusing-luajit
| -rw-r--r-- | data/core/common.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/core/common.lua b/data/core/common.lua index 1fc91b80..ab55e866 100644 --- a/data/core/common.lua +++ b/data/core/common.lua @@ -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 |
