lua-users home
lua-l archive

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


On Wed, Aug 13, 2014 at 11:12 AM, Mason Mackaman <masondeanm@aol.com> wrote:
> I think just for completeness the complete syntax of Lua in §9, the reference manual should include:
>
> Name::=(‘_’ | lowercaseletter | upercaseletter){‘_’ | lowercaseletter | upercaseletter | decimaldigit}
>
> To be honest I wouldn’t mind specifying lowercaseletter, upercaseletter, and decimaldigit, but I think some people would see that as a bit much.

Or just [A-Za-z_][A-Za-z0-9_]* since it's an informal grammar anyway.

/s/ Adam