Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: echo $fred:s/str1/str2/
- X-seq: zsh-users 8851
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: echo $fred:s/str1/str2/
- Date: Tue, 17 May 2005 16:30:17 +0100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <7poj81po8fr55i9k6h6as8s6uco3jnre9c@xxxxxxx> <david@xxxxxxxxxx> of "Tue, 17 May 2005 13:31:09 BST." <7poj81po8fr55i9k6h6as8s6uco3jnre9c@xxxxxxx> <27161.1116334818@xxxxxxx>
- Sender: news <news@xxxxxxxxxxxxx>
On Tue, 17 May 2005 14:00:18 +0100, wrote:
>
>You can't use patterns with that form, which is the history modifier
>syntax. You can use patterns with this form:
>
>echo ${fred/bu/hhh}
>
Peter,
I was expecting to use PCRE but it seems to only allow simplified patterns
echo ${fred/ket*ll/yyy}
Where can I find the rules?
--
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & success tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author