From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12915 invoked by alias); 25 Nov 2012 19:25:59 -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: 17437 Received: (qmail 7104 invoked from network); 25 Nov 2012 19:25:48 -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=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.212.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=d/NtGLWCo/itSAJTlizAanUK97/nKZayn8JG2XGyMLU=; b=v6WwzG1D1h17gLTv8MWZt0A91uJ3aETyw+l7afgxAVC7quD2TMMzMgBhY2wJNzkMvo cKRcQ0BRvWJYgBPnKXQpUAcICRmCkUIe54U5/ejp6QoW+36uDd6YivzLaon9cBL+iqU+ iDrlwQrpE7g3QIas9pALZarDWOXSY5VEH2XAMg2v1wIDzQN3vaP0cx7+vP+bUo1bK5SR +CckZOK4UKcZCYmO/A/YpVX+yhqTf86x2IlM03iSDVCRI3SyOo5QqTaBiAbgr0Po4MdJ xZ+58u2VGYUe/aB40Hy126sknKZOUoaQK7/lQIEJ3ziARITCz3KSQW0kobp8wLRkAoaM QKYg== MIME-Version: 1.0 Sender: ethersoft@gmail.com In-Reply-To: <20121125185741.3e99b7f0@pws-pc.ntlworld.com> References: <50B23D2D.9060603@internecto.net> <20121125185741.3e99b7f0@pws-pc.ntlworld.com> Date: Sun, 25 Nov 2012 14:18:40 -0500 X-Google-Sender-Auth: Yr0IRwuwY-pRu8S_tM3FytpM6L8 Message-ID: Subject: Re: Regular expression expanding and matching From: Vin Shelton To: Peter Stephenson Cc: "zsh-users@zsh.org" Content-Type: text/plain; charset=ISO-8859-1 Peter - On Sun, Nov 25, 2012 at 1:57 PM, Peter Stephenson wrote: > To put it more broadly, arguments in [[ ... ]] get expanded in all > the ways that make sense for generating a single word. So file name > generation (globbing) doesn't happen, and array substitution > produces a single word (as if double quotes surrounded the array), > but otherwise it works like a normal command line argument. So the > normal quoting rule for backslashes apply. That is very well put - thanks for the neat summary. - Vin