[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work4) now available
- From: Nick Gammon <nick@...>
- Date: Mon, 2 Aug 2010 15:44:18 +1000
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]".