summaryrefslogtreecommitdiff
path: root/xmake/core/base/utf8.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-01-21 00:00:00 +0800
committerruki <[email protected]>2026-01-21 00:00:00 +0800
commit91843ffb82564d29ce9a9e386f2c9292620a5ba9 (patch)
treee3b81ebb411c9f9ce6ae2b3357ccc6ae2363f334 /xmake/core/base/utf8.lua
parent6eade15143027afad000a48c941f1e9168104a54 (diff)
improve utf8.lastof
Diffstat (limited to 'xmake/core/base/utf8.lua')
-rw-r--r--xmake/core/base/utf8.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/utf8.lua b/xmake/core/base/utf8.lua
index 2878404fb..dfcfdfbf0 100644
--- a/xmake/core/base/utf8.lua
+++ b/xmake/core/base/utf8.lua
@@ -30,8 +30,8 @@ local utf8 = utf8 or {}
-- @interface utf8.offset(s, n [, i])
-- @interface utf8.codes(s [, lax])
-- @interface utf8.sub(s, i [, j])
--- @interface utf8.lastof(s, substr)
--- @interface utf8.find(s, target [, init])
+-- @interface utf8.lastof(s, pattern [, plain])
+-- @interface utf8.find(s, pattern [, init [, plain]])
--
-- the char pattern