lua-users home
lua-l archive

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


On 01/11/2015 11:43, Christopher Kappe wrote:
If the escape character "\" isn't allowed as first character in a string
key, it should be stated somewhere.


*Any* character is allowed at *any* position of a string key. But if a string key is not a valid identifier then the ["xxx"] syntax has to be used, e.g. ["\n"] or ["\\n"] etc.
It is stated very clear in the manual.

--
Shmuel