lua-users home
lua-l archive

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


>I have tested and found that also possible are the characters ?!$@

Really? You tested it? What version and what platform?
If this is right, it seems to me that it's a bug in locale...
Accented chars are allowed if the locale says they are letters.
The lexer simply uses isalnum.

Anyway. if you want your Lua programs to be portable, then you cannot use those
characters, and have to stick to _ 0-9 A-Z a-z.
--lhf