Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Feature Request] Adding option to support triple quotes



On 8/13/19, Aryn Starr <whereislelouch@xxxxxxxxxx> wrote:
> Adding an option to zsh to support triple quotes (TRIPLE_QUOTES) would make
> possible much more readable code.
> We can have double triple quotes that support `$` interpolation, and triple
> single quotes that just take raw strings. If it’s possible, we can even make
> it customizable for the user to set the number of quotes needed to activate
> this mode; I don’t imagine any one is using 4 consecutive quotes in their
> current code.

You are unfortunately wrong about this;
% echo it''''s used by RC_QUOTES
it's used by RC_QUOTES


-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author