lua-users home
lua-l archive

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


* Galanin Mikhail:

> I've found a little difference between the way how LuaJIT and LUA
> parse string. In the string 'test\)' the last bracket treated as a
> mistake by LJ, but LUA ignores a slash in this case.

This is a deliberate backport of Lua 5.2 functionality:

| From Lua 5.2: Change to '\z' escape. Reject undefined escape
| sequences.

<http://luajit.org/changes.html>