Created
June 6, 2024 16:05
-
-
Save jLn0n/00074e7f1192f0a219cdcde8f19b5991 to your computer and use it in GitHub Desktop.
pretty complex thingys
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local complex_path = `workspace[""]["Fanum Tax"].Health` | |
for raw_path_chunk in string.gmatch(complex_path, "([^.%[%]]+)") do | |
local path_chunk = string.match(raw_path_chunk, "\"([%s%S]*)\"") or raw_path_chunk | |
print(raw_path_chunk, path_chunk) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment