Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Beginning of line matching
- X-seq: zsh-users 4782
- From: Ian Lynagh <igloo@xxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Beginning of line matching
- Date: Tue, 26 Mar 2002 12:31:44 +0000
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: Ian Lynagh <ian@xxxxxxxxxxxxxxxxxx>
Hi all
I would have expected ${FOO/(#s)/X} and ${${FOO/(#m)(#s)?/X$MATCH}:-X}
to be equivalent, but it seems that only the second one has the desired
effect when FOO is not empty. Is there a reason the first doesn't behave
as I expected?
Thanks
Ian
Messages sorted by:
Reverse Date,
Date,
Thread,
Author