On 12/15/2020 11:25 AM, Bob Gailer wrote:
On Tue, Dec 15, 2020, 10:42 AM <2qdxy4rzwzuui...@potatochowder.com> wrote:
On 2020-12-15 at 16:04:55 +0100,
Jan Erik Moström wrote:
I want to do some text substitutions but a bit more advanced than what
string.Template class can do. I addition to pla
On Tue, Dec 15, 2020, 10:42 AM <2qdxy4rzwzuui...@potatochowder.com> wrote:
> On 2020-12-15 at 16:04:55 +0100,
> Jan Erik Moström wrote:
>
> > I want to do some text substitutions but a bit more advanced than what
> > string.Template class can do. I addition to plain text substitution I
> would
>
On 2020-12-15 at 16:04:55 +0100,
Jan Erik Moström wrote:
> I want to do some text substitutions but a bit more advanced than what
> string.Template class can do. I addition to plain text substitution I would
> like to be able to do some calculations:
>
> $value+1 - If value is 16 this would inse
I want to do some text substitutions but a bit more advanced than what
string.Template class can do. I addition to plain text substitution I
would like to be able to do some calculations:
$value+1 - If value is 16 this would insert 17 in the text. I would also
like to subtract.
$value+1w - I