diff options
| author | ruki <[email protected]> | 2026-01-20 23:38:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-20 23:38:02 +0800 |
| commit | a9d5fe27bb69cc35022e9c8b80ac9d5f89f570c0 (patch) | |
| tree | 7d48629cd895877d91fdab0e9648d03419ca51f1 /xmake | |
| parent | 92423451b623e79ac464d388bfb1bfed2780b792 (diff) | |
add utf8.sub and lastof
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/core/base/utf8.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/base/utf8.lua b/xmake/core/base/utf8.lua index 1a1edc0ea..7351475f8 100644 --- a/xmake/core/base/utf8.lua +++ b/xmake/core/base/utf8.lua @@ -29,6 +29,8 @@ local utf8 = utf8 or {} -- @interface utf8.codepoint(s [, i [, j]]) -- @interface utf8.offset(s, n [, i]) -- @interface utf8.codes(s [, lax]) +-- @interface utf8.sub(s, i [, j]) +-- @interface utf8.lastof(s, substr) -- -- the char pattern |
