lua-users home
lua-l archive

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


> No, not alternates like that, simply to be able to:
> 
> foo:gsub("(.-)[%s$]", bar)

Then try foo:gsub("(.-)%s?$", bar).