lua-users home
lua-l archive

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


On Mon Aug 29, 2022 at 10:03 AM CDT, Mitchell wrote:
> I expect only the characters from 'bar' to be printed since I am passing the 'init' argument to string.gmatch.
>
> What am I missing or not understanding?

when I run the line of code you provided in lua 5.4, it provides the
output you expect. however, this feature seems to have been introduced
in this version. what version of lua are you using?