lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> In particular we want to find the string concatenations in loops:

Try this simple-minded pattern:
	string.gsub(T,"local%s+(%S+)%s*=.- do.-(%1%s*=.-\n).-end",print)
where T contains your code.