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 40630
- From: Sebastian Gniazdowski <psprint2@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [^ax-y] doesn't work but [^x-ya] does
- Date: Sat, 25 Feb 2017 00:21:48 -0800
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=1qGEV4hIdHxZ6SBwjzBRU+Uzwk U=; b=N28I+mIrkG7wolRRdLJ+1ygXurG/x7GXFN9JSkx1lnOxHOlCaG4pEm5H8e n0F7GNO414X87BQq5bOPgpchDaes8U/BDsv0nO8Me1KYt/5Dy+7ZynRt0wJ+SzcP BYt5aq6ppGE/zTHVis7n8mxlmZ5mpcsTtDXwVHaGkcBTIGzMw=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=smtpout; bh=1q GEV4hIdHxZ6SBwjzBRU+UzwkU=; b=hgqGiYnl4VUD5kjyp4S3EOZJAoScRsFxK/ p8JQDahthKXnEmvfaT5gFxlzat4XgGjTcRjPyRY1zcsJ3+z/wn354Yu+j6nroqOZ 4a5HRF0A8Y4/tOJj7wYwMAzRQ1rntkE7M5J/WGxzQn4DPAIGU138dJnL2YdwYiqA q/kwZk8yc=
- In-reply-to: <170224233230.ZM20489@torch.brasslantern.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> <170224233230.ZM20489@torch.brasslantern.com>
On Fri, Feb 24, 2017, at 11:32 PM, Bart Schaefer wrote:
> 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.
It is $'\037'. I can do more as time passes, commited error-revealing
state into a branch.
> (...)
> 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.
I knew you gonna spot it, but this morning started to bisect so finished
it, and just for completeness it is 1c41f98 "37705: don't turn - to Dash
after start of brace parameter".
--
Sebastian Gniazdowski
psprint2@xxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author