From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15715 invoked by alias); 10 Jun 2014 14:26:49 -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: 18897 Received: (qmail 12646 invoked from network); 10 Jun 2014 14:26:37 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=from:content-type:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qVk6oTawZfJHofJ24pyVvunbXrqN7ny/rXTSgzxakhA=; b=MA6KcbYnjsrlCu8zyNo9LQ7QET3iTEneNPnYwCijWDzupxZhHX6kySqBJ7V3hjWx36 Mzynp2WHKo5dbbKL5LuQnp4k0kNFBwMbQEUb8R5ez0VRZRbEPI1K2fK0xKkax7zdtkxv zwHR7zQy3d9QVe9/47p/Fm5FBG9qkrcZCMzgs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:mime-version:subject :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=qVk6oTawZfJHofJ24pyVvunbXrqN7ny/rXTSgzxakhA=; b=fjelSnRwGsNgJRjQbxcES9Pfvg3cKyovYecUlacDAPhDFR0YetPWNyeEtn2+HCbGhG 7I1FNQUEtXvjGNjxP6BWJzrUFS7RT7D6Ca0c4aWdPRBMcUxNadqVRQevFX0/eugqykI2 1FWnXeRlr5yl5g4T5jriM4U0gIk9SbBhQnhULOkf7gbfDz36d0NWC3kKMQuW/UtnUh44 ZxAvWGjgN3hoG0nTIOsD6ia6Zdq7DaBhNDiOnPN4MNNa163vI9vFvzF2qg+GEG9x0KMa QbrVaw/AxK7qBqu4w9xs8O7pAOVgKQQBWE5SJv8SRjr/Qe5zzob7z7KJGDZ74h5/keGy yiGw== X-Gm-Message-State: ALoCoQknMhIq9XwGBkHUCMSTB4xFBZHlgQd6rIZTELi88ZmFxOIaSdk7lQ9QVpBUGWDJ+GnyHmdn X-Received: by 10.66.122.70 with SMTP id lq6mr5870887pab.51.1402410394784; Tue, 10 Jun 2014 07:26:34 -0700 (PDT) From: "William G. Scott" X-Google-Original-From: "William G. Scott" Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: regular expressions and setting variables? In-Reply-To: <20140610084527.GA50473@redoubt.spodhuis.org> Date: Tue, 10 Jun 2014 07:26:30 -0700 Cc: zsh-users@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <21125430-3163-4DF9-A570-8A41BF0972B3@chemistry.ucsc.edu> References: <157E3510-D220-4C1C-A452-93DE96DA4363@chemistry.ucsc.edu> <20140610084527.GA50473@redoubt.spodhuis.org> To: Phil Pennock X-Mailer: Apple Mail (2.1878.2) On Jun 10, 2014, at 1:45 AM, Phil Pennock = wrote: >=20 > ${name/pattern/repl} does not use regular expressions, it uses shell > patterns. >=20 > Described in zshexpn(1) under "PARAMETER EXPANSION". >=20 > % echo ${JUNK/%./_} > R.E.M_ >=20 > -Phil Thanks very much to all who replied. I didn=92t even realize there was = a difference (sorry). =97 Bill=