Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
matching flags (was: Re: Should we backup this change? RE: Modifier substitutions.)
- X-seq: zsh-workers 10734
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: matching flags (was: Re: Should we backup this change? RE: Modifier substitutions.)
- Date: Thu, 13 Apr 2000 13:37:56 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Wed, 12 Apr 2000 21:54:51 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> You should now be able to do ${foo/(#s)$bar(#e)/...}.
Before I forget it... from the code in pattern.c it doesn't look too
hard to support flags for the other special `gaps between characters'
supported by some regexp systems (beginning/end of line/word). Would
it be interesting enough to have them, too? Might be useful with
parsing command outputs as in ${$(...)...} sometimes. (The definition
of `word' might be a problem, of course...)
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author