Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [^ax-y] doesn't work but [^x-ya] does
- X-seq: zsh-workers 40629
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [^ax-y] doesn't work but [^x-ya] does
- Date: Fri, 24 Feb 2017 23:32:30 -0800
- Authentication-results: amavisd4.gkg.net (amavisd-new); dkim=pass (2048-bit key) header.d=brasslantern-com.20150623.gappssmtp.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=wz0lS1gseJgiJOygHCWgTGQaRR0G2o0tY1DbptIz22U=; b=Re1ohl0OVipXM7RYModp978oqeOy+8OWYEblWoBs1GrcfNRjtnzQIIQaAflYQWQZvy 6S1Iz63QvnW05cUYOgzuyn2zItjhpS44m3azHmUcXBR27GVedGL/2n4r0j2374YOYHG9 TLw7pti6ZUYSmYtsDc51ggKNeskkk7/1j8/PM+Kyo4Qm86HZ47pnPAccI2RgtlrYIi13 d4MUeV+7/9c9a4zjr1di90ZIzVLpEWvS7a3AC8Hba3v8260kxJqm8JVFQcj3n7BTOpzT tOOM6J8cYKafckeU6DVhDvw0BWcmBYa5uvw10DJmwMw8B7qdN6b/m54OLo7NSCOPdt1L 9jKQ==
- In-reply-to: <1487968683.2095157.892058216.7B77881D@webmail.messagingengine.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1487968683.2095157.892058216.7B77881D@webmail.messagingengine.com>
On Feb 24, 12:38pm, Sebastian Gniazdowski wrote:
} Subject: [^ax-y] doesn't work but [^x-ya] does
}
} I couldn't create minimal test case interactively.
I suspect therefore that value of ${ZUI[COLOR_END]} is going to matter.
} The point is: "ON-THE-FLY" isn't replaced because it contains "-", and
}
} This however works on zsh-5.2-dev-0 and starts not working with
} zsh-5.2-dev-1 reaching zsh-5.3.1-dev-0.
What changed in there is that "-" started needing to be a tokenized
special character in [charset] notation in order to match a range.
This has several effects, including that in [${charset}] any hyphens
in the expansion of $charset are treated as literal matches unles
you use [${~charset}]. There are all sorts of possible side-effects
here if the value of $charset begins or ends with hyphen.
I understand you say that's not the case here, just mentioning in
the context.
So you've found something that causes the hyphen in $'\03'-$'\010' to
remain untokenized.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author