From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27669 invoked by alias); 15 Nov 2016 13:37:13 -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: 39948 Received: (qmail 4019 invoked from network); 15 Nov 2016 13:37:13 -0000 X-Qmail-Scanner-Diagnostics: from hahler.de 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(188.40.33.212):SA:0(0.0/5.0):. Processed in 0.75413 secs); 15 Nov 2016 13:37:13 -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.0 required=5.0 tests=SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: genml+zsh-workers@thequod.de X-Qmail-Scanner-Mime-Attachments: |signature.asc| X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.hahler.de designates 188.40.33.212 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= content-type:content-type:mime-version:user-agent:date:date :message-id:subject:subject:from:from:received:received; s= postfix2; t=1479216403; bh=MgEY1VnGp50I5nvuxEHAOc4RnnhUQmUJ37RCR wkdyts=; b=QaRN4fkFJcVX3RaZV3DHjSCH1wPr83QVBZQvKg4UfKrHckFbB67nQ tmyLsiYck//bcV/CGW4aMe7799jZC/EBDioTcVCvrxvQsH0d73WJipCS3zzTFCaK Hx2/FyQLZyZwZ9suEtdVkgZ2APMcfk9rMY6RlFGvSuo5nm0jV6wUFI= To: zsh-workers@zsh.org From: Daniel Hahler Subject: Regression: $~i is no expanded if $i contains dash Message-ID: <1473e25c-0616-f420-8509-0a98bb9ce019@thequod.de> Date: Tue, 15 Nov 2016 14:26:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iu2R7nF67sDRsq6juvdhqc1ugtki8D4Mo" --iu2R7nF67sDRsq6juvdhqc1ugtki8D4Mo Content-Type: multipart/mixed; boundary="h6BrjmkXV9slTomC1DLmSRteMjLuICjhJ"; protected-headers="v1" From: Daniel Hahler To: zsh-workers@zsh.org Message-ID: <1473e25c-0616-f420-8509-0a98bb9ce019@thequod.de> Subject: Regression: $~i is no expanded if $i contains dash --h6BrjmkXV9slTomC1DLmSRteMjLuICjhJ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Test case: > hash -d t-t=3D/tmp; i=3D"~t-t"; echo $~i; echo ~t-t ~t-t /tmp It works fine in 5.2, and regressed in ad16356: Author: Peter Stephenson Date: Tue Jan 19 17:24:12 2016 +0000 37689: ! and ^ need to be tokenised in character sets Cheers, Daniel. --h6BrjmkXV9slTomC1DLmSRteMjLuICjhJ-- --iu2R7nF67sDRsq6juvdhqc1ugtki8D4Mo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlgrDQ0ACgkQfAK/hT/mPgBINgCg4wG0ASgL/BOvXzsDXxzADuuz SsgAniEFGMlmZ28pUpooJc2n3FjQyLcm =R8cv -----END PGP SIGNATURE----- --iu2R7nF67sDRsq6juvdhqc1ugtki8D4Mo--