Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: input foo, output '[F|f][O|o][O|o]'?
- X-seq: zsh-users 17852
- From: "TJ Luoma" <luomat@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: input foo, output '[F|f][O|o][O|o]'?
- Date: Tue, 02 Jul 2013 00:24:09 -0400
- Cc: ZyX <kp-pav@xxxxxxxxx>, "Zsh-Users List" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=uFSQyxb0IALr1gKn3eLLoP tQMsM=; b=pdFHs0DflKGex27bP4TB81TFpcDH+HmhrqOYzFBGmc8/Ccub9MZemT b23j30WsrfHAJhmoZfHIuM//6qgaKTdshx7HopozWBz6MEIDDj7x+hZRuuleb4TT xI7FeLMC1oN33okiX+IpLA+xr49NevayVauiKcgzf53Vs9oERWTlY=
- In-reply-to: <alpine.LNX.2.01.1307012129050.21264@hp.internal>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <694051372704284@web26e.yandex.ru> <E7CF18D5-CB4B-4E80-B7E0-40D5930E42DD@gmail.com> <alpine.LNX.2.01.1307012129050.21264@hp.internal>
On 1 Jul 2013, at 21:53, Benjamin R. Haskell wrote:
I think you've missed the point of "N, n, or pipe". [F|f] matches
upper 'F' or lower 'f', but also the character '|'. You seem to be
conflating:
[xyz] - 'x' or 'y' or 'z'
with:
(x|y|z) - 'x' or 'y' or 'z'
The '|' doesn't mean 'or' within square brackets. It means the
literal character: '|'.
Oh FFS… yes… sorry… that's exactly what I was doing. Sorry about
that. I kept reading what I was thinking about instead of what I'd
written.
*sigh*
(It's been a long week for it to be only just past Monday :-)
TjL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author