From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27012 invoked by alias); 2 Jul 2013 04:24:37 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17852 Received: (qmail 668 invoked from network); 2 Jul 2013 04:24:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 66.111.4.25 is neither permitted nor denied by SPF record at _netblocks3.google.com) 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= X-Sasl-enc: dBPPool2NUQ/TeiuJHo+TT4tQwmQ8TkbImC059rMogvJ 1372739063 From: "TJ Luoma" To: "Benjamin R. Haskell" Cc: ZyX , "Zsh-Users List" Subject: Re: input foo, output '[F|f][O|o][O|o]'? Date: Tue, 02 Jul 2013 00:24:09 -0400 Message-ID: <9C41B5E2-E589-4A90-A68C-76D177943EA6@gmail.com> In-Reply-To: References: <694051372704284@web26e.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Mailer: MailMate (1.5.4r3323) 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