[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT-2.0.0-beta9 and Lua 5.1.4: different behavior
- From: Petite Abeille <petite.abeille@...>
- Date: Wed, 11 Jan 2012 18:53:33 +0100
On Jan 11, 2012, at 10:19 AM, Galanin Mikhail wrote:
>> print('test\)')
> stdin:1: invalid escape sequence near ''test'
This is in line with 5.2 behavior as well:
$ lua -v TestString.lua
Lua 5.2.0 Copyright (C) 1994-2011 Lua.org, PUC-Rio
lua: TestString.lua:1: invalid escape sequence near '\)'
In short, watch out these escape sequences!