So I was trying to create a recursive thing to detect includes in code. Unfortunately, it only finds the first pattern match and not the rest.
If I do
local anticheat = “include(“blah.lua”) include(“moreblah.lua”)”
print( anticheat:match( “^include%S+” ) )
The output is
I need it to output everything found with that pattern, am I doing anything wrong or what do I do?