Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 3.1.6-pws-4: backreferences
- X-seq: zsh-workers 7838
- From: Tanaka Akira <akr@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: 3.1.6-pws-4: backreferences
- Date: 15 Sep 1999 21:38:20 +0900
- In-reply-to: Peter Stephenson's message of "Tue, 14 Sep 1999 15:45:38 +0200"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <9909141345.AA24591@xxxxxxxxxxxxxxxxx>
In article <9909141345.AA24591@xxxxxxxxxxxxxxxxx>,
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author