We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eg:
const [str, count] = ("ABC").gsub("(%w)(%w)(%w)", (a, b, c) => `${a}/${b}/${c}`);
The text was updated successfully, but these errors were encountered:
I can't find this actually documented anywhere, but from testing it seems you're right.
("Hello World!"):gsub("(%w)(%w)(%w)", function(a, b, c) print(a,b,c) end)
Running this code in the Luau demo prints
H e l W o r
Sorry, something went wrong.
Gsub replacement function parameter type (#1162)
3fcc396
Fixes #1161
Successfully merging a pull request may close this issue.
eg:
The text was updated successfully, but these errors were encountered: