|
From: | Mike Scalora |
Subject: | Re: [Nano-devel] [PATCH] possible new feature: allow binding a key to a string |
Date: | Mon, 05 Feb 2018 04:03:48 +0000 |
On Sun, 4 Feb 2018 16:22:09 -0600
David Ramsey <address@hidden> wrote:
> they'll also lessen the
> ability of such macros to insert text (at least in a simple manner).
> If the sigils are like what Brand came up with, such as "${replace}",
> how would the user insert a literal $, {, or } in a macro without
> making parsing the string much more complex?
Only the $ would need escaping, and only when followed by a {[a-z_]+}. The interpolate_string function from my syntax variable patch could be adapted to do this. ...
[Prev in Thread] | Current Thread | [Next in Thread] |