From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17013 invoked by alias); 25 Feb 2017 08:21:58 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40630 Received: (qmail 14806 invoked from network); 25 Feb 2017 08:21:58 -0000 X-Qmail-Scanner-Diagnostics: from new1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.221):SA:0(-0.4/5.0):. Processed in 1.403718 secs); 25 Feb 2017 08:21:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: psprint2@fastmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at spf.messagingengine.com designates 66.111.4.221 as permitted sender) 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= X-ME-Sender: Message-Id: <1488010908.2238581.892426560.58CFA483@webmail.messagingengine.com> From: Sebastian Gniazdowski To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-715c2c0c Date: Sat, 25 Feb 2017 00:21:48 -0800 Subject: Re: [^ax-y] doesn't work but [^x-ya] does In-Reply-To: <170224233230.ZM20489@torch.brasslantern.com> 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@fastmail.com