[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to return table key/value pairs in a particular order?
- From: Jonathan Goble <jcgoble3@...>
- Date: Sat, 28 Nov 2015 18:40:25 -0500
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. :)