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

Re: Feature request (#b)...(...)<not empty>



Sebastian Gniazdowski wrote on Sat, Feb 25, 2017 at 09:24:40 -0800:
> On Sat, Feb 25, 2017, at 08:47 AM, Bart Schaefer wrote:
> > On Feb 25, 12:37am, Sebastian Gniazdowski wrote:
> > (...) or it must remember
> > everything it did up to that point and re-evaluate that after the
> > second "fg" is scanned.
> 
> I thought that ((a|)(b|)(c|)) could be left as it is. So after it scans
> "bold" (a), it normally proceeds to scan "fg" (i.e. b), etc. until it
> finishes the outer parenthesis. No change here. Different order, e.g.
> ba, isn't accepted, i.e. first "fg" then "bold" – the say API is
> restricted, order is: bold, foreground, background (lacking any of them
> but of course not all).

As an aside, in xterm, it's possible to omit all of bold, foreground,
background: $'\e[31m' is accepted, but so is $'\e[m'.

I assume that's a feature.



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