[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string.gsub (Lua 5.1.1)
- From: roberto@... (Roberto Ierusalimschy)
- Date: Tue, 7 Nov 2006 16:03:34 -0200
> BTW, is "+" missing from the search pattern? I think it should be
>
> _,n = string.gsub(s, "%w+", {[while] = true, [for] = true, ...})
Sure.
-- Roberto
- References:
- Re: string.gsub (Lua 5.1.1), Nick Gammon
- Re: string.gsub (Lua 5.1.1), Shmuel Zeigerman
- Re: string.gsub (Lua 5.1.1), Nick Gammon
- Re: string.gsub (Lua 5.1.1), Shmuel Zeigerman
- Re: string.gsub (Lua 5.1.1), Nick Gammon
- Re: string.gsub (Lua 5.1.1), Shmuel Zeigerman
- Re: string.gsub (Lua 5.1.1), Roberto Ierusalimschy
- Re: string.gsub (Lua 5.1.1), Leo Razoumov
- Re: string.gsub (Lua 5.1.1), Roberto Ierusalimschy
- Re: string.gsub (Lua 5.1.1), Leo Razoumov