zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: PATCH: 3.1.6-pws-4: backreferences
Date: 15 Sep 1999 21:38:20 +0900	[thread overview]
Message-ID: <rsq9068bb9f.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Peter Stephenson's message of "Tue, 14 Sep 1999 15:45:38 +0200"

In article <9909141345.AA24591@ibmth.df.unipi.it>,
  Peter Stephenson <pws@ibmth.df.unipi.it> 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


  parent reply	other threads:[~1999-09-15 12:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-14 13:45 Peter Stephenson
1999-09-15  7:48 ` Peter Stephenson
1999-09-15 12:38 ` Tanaka Akira [this message]
1999-09-15 13:05   ` Peter Stephenson
1999-09-15 14:16 Sven Wischnowsky
1999-09-15 13:51 ` 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=rsq9068bb9f.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).