From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10063 invoked from network); 15 Sep 1999 12:38:41 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 15 Sep 1999 12:38:41 -0000 Received: (qmail 26387 invoked by alias); 15 Sep 1999 12:38:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7838 Received: (qmail 26380 invoked from network); 15 Sep 1999 12:38:23 -0000 To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: PATCH: 3.1.6-pws-4: backreferences References: <9909141345.AA24591@ibmth.df.unipi.it> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 15 Sep 1999 21:38:20 +0900 In-Reply-To: Peter Stephenson's message of "Tue, 14 Sep 1999 15:45:38 +0200" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <9909141345.AA24591@ibmth.df.unipi.it>, Peter Stephenson writes: > - The (#b) globbing flag turns on backreferencing. I found a problem with this. Z(2):akr@is27e1u11% Src/zsh -f is27e1u11% setopt extendedglob is27e1u11% a=abcdef is27e1u11% echo ${a/(#b)a(?)c/$match[1]} def It should be `bdef'. Since second time, it works well. is27e1u11% echo ${a/(#b)a(?)c/$match[1]} bdef -- Tanaka Akira