zsh-workers
 help / color / mirror / code / Atom feed
From: Sebastian Gniazdowski <psprint2@fastmail.com>
To: zsh-workers@zsh.org
Subject: Re: [^ax-y] doesn't work but [^x-ya] does
Date: Sat, 25 Feb 2017 00:21:48 -0800	[thread overview]
Message-ID: <1488010908.2238581.892426560.58CFA483@webmail.messagingengine.com> (raw)
In-Reply-To: <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


  reply	other threads:[~2017-02-25  8:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-24 20:38 Sebastian Gniazdowski
2017-02-25  7:32 ` Bart Schaefer
2017-02-25  8:21   ` Sebastian Gniazdowski [this message]
     [not found] <CGME20170302073436epcas2p1ee2d6d723bc7b0865e11243777a08417@epcas2p1.samsung.com>
2017-03-02  7:33 ` Sebastian Gniazdowski
2017-03-02  8:36   ` Sebastian Gniazdowski
2017-03-02 10:47   ` Peter Stephenson
2017-03-02 11:22     ` Sebastian Gniazdowski
2017-03-02 11:53       ` Peter Stephenson
2017-03-04 23:21         ` Bart Schaefer
2017-03-06 11:28           ` Peter Stephenson
2017-03-07 10:51             ` Peter Stephenson
2017-03-08 19:12               ` Martijn Dekker
2017-03-09  5:18                 ` Bart Schaefer
2017-03-09 10:29                   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488010908.2238581.892426560.58CFA483@webmail.messagingengine.com \
    --to=psprint2@fastmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).