Apropos_2a(pattern:gsub("^_G%.", ""), package.loaded, "", {}, {}) end.

Match. If there is no catch, the mismatched values will be discarded\nand lacking args will be.