port to lua 5.2
fix escape sequence, add wrap to _M