more Repeated Substring

Go, Lua