lua-users home
lua-l archive

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


On Sat, Nov 28, 2015 at 6:37 PM, Daurnimator <quae@daurnimator.com> wrote:
> local tSub = {
>    {patt = "%-%-%-"; repl = "---"};
>    {patt = "%-%-"; repl = "--"};
>    {patt = "%.%."; repl = "..."};
> }

That's even better than what I suggested. I had a feeling someone
would come in with a better solution. :)