[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: string patterns
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 11 Jan 2007 08:06:19 -0200
> No, not alternates like that, simply to be able to:
>
> foo:gsub("(.-)[%s$]", bar)
Then try foo:gsub("(.-)%s?$", bar).