-- FIXME: Capture this as a local variable before returning, else a luau bug
-- prevents __call from being understood: https://jira.rbx.com/browse/CLI-40294

local interface = setmetatable(RegExp, {
	__call = new,
})

return interface
