[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string.gmatch confusion
- From: "the lemons" <lemon@...>
- Date: Mon, 29 Aug 2022 10:08:02 -0500
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?