[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Regexp trick
- From: beo wulf <beowulf@...>
- Date: Tue, 4 Jan 2011 23:46:38 -0800
Initially, I was going to post it, but it almost looks like ascii
porn, so I didn't. Since it's requested, for the sake of science:
("a=b"):gsub("(.*)=(.*)", '%1="%2"')
On Tue, Jan 4, 2011 at 11:08 PM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> On Wed, Jan 5, 2011 at 8:52 AM, beo wulf <beowulf@intamp.com> wrote:
>> resolved: gsub :-)
>
> Ah, now you're teasing - would you like to share your solution? It
> might be useful for others.
>
> steve d.
>
>