lua-users home
lua-l archive

Re: string patterns

[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).

AltStyle によって変換されたページ (->オリジナル) /