查找的正则表达式:table.insert(x,y,z) 并替换:x[y]=z

Regex for find: table.insert(x,y,z) And replace: x[y]=z

查找的正则表达式:

table.insert(x,y,z)

并替换:

x[y]=z

示例代码:

查找:

table.insert(RL_LostWiggleTool.widgetDoubleClickTbl, 0, RL_LostWiggleTool.firstClickTime)

替换:

RL_LostWiggleTool.widgetDoubleClickTbl[0] =     L_LostWiggleTool.firstClickTime

试试这个正则表达式:

table\.insert\(([^,]+),([^,]+),([^,]+)\)

DEMO