[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: identifier char class
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 27 Nov 2009 18:48:04 -0200
> << The definition of letter depends on the current locale: any character considered alphabetic by the current locale can be used in an identifier. >>
This will be removed in 5.2.
> 1) Where does Lua take this info from?
>From ANSI C ctype.h. The classification of chars according to ctype depends
on the current locale.
In 5.2, Lua will provide its own ctype table and won't rely on locales.
See http://lua-users.org/lists/lua-l/2009-05/msg00411.html