From a40b65af3ed5ac8d79d4e36b25faa75fd72ee31d Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Fri, 25 Jun 2021 16:29:47 -0700 Subject: [PATCH 1/3] Update --remove old tochars syntax Co-authored-by: Starbeamrainbowlabs --- worldeditadditions/utils/strings/tochars.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/worldeditadditions/utils/strings/tochars.lua b/worldeditadditions/utils/strings/tochars.lua index 72fd6bb..281909d 100644 --- a/worldeditadditions/utils/strings/tochars.lua +++ b/worldeditadditions/utils/strings/tochars.lua @@ -4,7 +4,6 @@ -- @param rem_dups bool Remove duplicate characters -- @returns table A sequence table containing the substrings function worldeditadditions.tochars(text,sort,rem_dups) ---function tochars(text,s,d) local t, set = {}, {} if rem_dups then text:gsub(".",function(c) set[c] = true end) From a6a858046f4a82d02535ff7df055d534bd10cdb5 Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Fri, 25 Jun 2021 16:30:38 -0700 Subject: [PATCH 2/3] Update tochars.lua grammar Co-authored-by: Starbeamrainbowlabs --- worldeditadditions/utils/strings/tochars.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worldeditadditions/utils/strings/tochars.lua b/worldeditadditions/utils/strings/tochars.lua index 281909d..ca76298 100644 --- a/worldeditadditions/utils/strings/tochars.lua +++ b/worldeditadditions/utils/strings/tochars.lua @@ -17,7 +17,7 @@ function worldeditadditions.tochars(text,sort,rem_dups) return t end ---- Split into set of characters. +--- Split into a set of characters. -- @param text string The string to iterate over -- @returns table A sequence set table containing the substrings function worldeditadditions.tocharset(text) From 2d6bd676d6cd91065c1f4186c1462a7f3f1ed03e Mon Sep 17 00:00:00 2001 From: VorTechnix <45538536+VorTechnix@users.noreply.github.com> Date: Fri, 25 Jun 2021 17:25:09 -0700 Subject: [PATCH 3/3] Update --remove tocharset testing tags Co-authored-by: Starbeamrainbowlabs --- worldeditadditions/utils/strings/tochars.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/worldeditadditions/utils/strings/tochars.lua b/worldeditadditions/utils/strings/tochars.lua index ca76298..e8e34aa 100644 --- a/worldeditadditions/utils/strings/tochars.lua +++ b/worldeditadditions/utils/strings/tochars.lua @@ -21,7 +21,6 @@ end -- @param text string The string to iterate over -- @returns table A sequence set table containing the substrings function worldeditadditions.tocharset(text) --- function tocharset(text) local t = {} text:gsub(".",function(c) t[c] = true end) return t