[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Iterating over string with delimiter that is multiple occurrences of the same character
- From: Andrew Starks <andrew.starks@...>
- Date: Fri, 11 Oct 2013 09:10:30 -0500
On Fri, Oct 11, 2013 at 9:07 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> t = s.. ";;"
>
> Now do
> for p in t:gmatch("(.-);+") do print(p) end
I think that single ";" need to be escaped, if I read the OP's request
correctly.