Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Substitution question
- X-seq: zsh-users 7714
- From: bkhl@xxxxxxxxxxxxxxx (Björn Lindström)
- To: zsh-users@xxxxxxxxxx
- Subject: Substitution question
- Date: Tue, 20 Jul 2004 03:14:58 +0200
- Cancel-lock: sha1:j0NsD45PDcB/xu+ugjN5oz6MGYs=
- Mail-copies-to: never
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Sender: news <news@xxxxxxxxxxxxx>
Can somebody tell me what type of patterns are supported in l, in the
$x:s/l/r syntax?
I'd like to do something like:
$x:gs/[^A-Za-z0-9]/_
to replace all characters except for the ones listed with underscore.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author