lua-users home
lua-l archive

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


Am 19.05.2016 um 00:05 schrieb Luiz Henrique de Figueiredo:

> Lua 5.3.3 also contains several internal improvements and
> includes a revised reference manual:
> 	http://www.lua.org/work/doc/

In the following (new) paragraph

  You can put a closing square bracket in a set by positioning it as
  the first character in the set. You can put an hyphen in a set by
  positioning it as the first or the last character in the set. (You
  can also use an escape for both cases.)

I suggest

  * adding the word 'literal' before 'closing square bracket' and
    'hyphen',
  * replacing the last sentence by

      Alternatively, you can use the corresponding escape sequences
      %] and %-.

    (Removing the pair of parentheses altogether.)

Best regards,
Stephan Hennig