Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Should we backup this change? RE: Modifier substitutions.
- X-seq: zsh-workers 10729
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Should we backup this change? RE: Modifier substitutions.
- Date: Thu, 13 Apr 2000 09:59:37 +0100
- In-reply-to: "Your message of Thu, 13 Apr 2000 10:00:05 +0400." <000001bfa50d$83d622b0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> BTW where are these (#s) and (#e) useful? The patterns in parameter
> expansions are anchored by definition; the patterns in conditional
> expressions/case statements are anchored to full word as well. Could you
> provide example where you cannot do without (#s)/(#b)?
In alternatives. Try reading the manual entry.
> In any case, this is additional argument in favour of backing out this
> change (assuming, that these (#s)/(#b) really work).
If they worked here it would certainly simplify substitutions; although
there are ways of doing most things with the existing anchors, they are
even less readable and memorable (and that's saying something).
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author