lua-users home
lua-l archive

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


> Lua authors will decide if this is mis-description or mis-behavior :)

The truth in this case is that we do not know what is wrong, the code
or the manual. We did not notice that the option of no replacement
(introduced in 5.1) allowed the number of matches to be different from
the number of replacements, until Shmuel's message.

In this particular case, it seems simpler to declare the code right and
correct the manual. We have to clarify the manual anyway. The other
option (to really count "replacements") would need further clarification
of what counts as a "replacement".

-- Roberto