lua-users home
lua-l archive

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


In the manual for (frontier) patterns, "beggining" is a typo. It is spelt "beginning".

It also might be worth clarifying this:

"A range of characters can be specified by separating the end characters of the range with a '-'."

Maybe it should be obvious, but whilst [a-z] matches lower-case letters [z-a] does not.

As an example, the class [a-Z] would not match anything. You might suppose it would. 

A clarifying statement might be something like "The end characters of the range must be given in ascending sequence, eg. [a-d] not [d-a]".