summaryrefslogtreecommitdiff
path: root/meta/template/utf8.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/template/utf8.lua')
-rw-r--r--meta/template/utf8.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua
index 4bcbed59..52bea1cc 100644
--- a/meta/template/utf8.lua
+++ b/meta/template/utf8.lua
@@ -1,6 +1,7 @@
---@meta
---@class utf8
+---@field charpattern string
utf8 = {}
---@param code integer
@@ -8,8 +9,6 @@ utf8 = {}
---@return string
function utf8.char(code, ...) end
-utf8.charpattern = '[\0-\x7F\xC2-\xF4][\x80-\xBF]*'
-
---@param s string
---@param lax boolean?
---@return fun():integer, integer