Only indexing qutoed words inside ()

hii so this script

`
local values = {}
local insertionOrder2 = {}

for val in line:gmatch("%b()") do
	val = val:sub(2, -2) 
	for v in val:gmatch("[^,%s]+") do
		table.insert(insertionOrder2, v)
		values[v] = "nil"
	end
end`

now this only indexes qutoed words which lets say (hey, “bye”), itll only recognize the bye and index it and this all string gmatch thing is so confusing, any help is appreciated :smiley: