From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14239 invoked by alias); 11 Apr 2016 14:43:12 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38280 Received: (qmail 16935 invoked from network); 11 Apr 2016 14:43:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=sa0TepRRFnDYI7a0GEEr7OMcKmFH37pXt25k0MUzjYk=; b=oMMMNsO+ImR9zCwMGIrlWpHBXICN2gz9aYhQmoZiWGpTXHLwgCz7Mp7FOm8+Iym22M /eg06fa9Z07SK5e2DOyb1ZKY7kJ2rgl8EjF273jedh6hIQAh5qfTj7utF4RlnIznJya8 cLKBHfX6EnkOYVDEcZN6yEy+LbYXpYKP3XTBT0VMtVbRk/HIwLcLUTi508RAxrrL5Zvr wIaorOvhXYL4qjWR5Y8OmrxNDHBLUZaRk6fv6hque6z/q5+a/++CAoQ5c01RtjBJnvHI UCJNOqFHSz2xEKjLvjfpfLmzTf1xYGhcOdiL/fWCwEhmTIZ2u3W61nFdAf2lIQjJBdds B7tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=sa0TepRRFnDYI7a0GEEr7OMcKmFH37pXt25k0MUzjYk=; b=VHJIvO8DO2PqPkQGr8CEv9c//sCwi3mrIiGvbCGngUMzi4GQtRkM0ohReirJkJ4VmY CqDQgawR4cyG6UCuDY8MCN9jmD5bk37rUiO4YitnHOjCMiOaGITwgaoYeIa5C4Q2uoFR VOgskl77/AK8JJ8G21s+I/dZi3YMTkqxoWGLEh+zsg4thizf4pwG+L8BjyGAj9MZGSr2 ODyj2AjXI267Xm0G3fR3Hk97d4rEPMtpj5gcqc/MZNDA0ujJxwt/+0Vkwf4qqxq3xEl7 0Jn0k5dzFl3tyskB+FYbbHgJUJVztu+LRwvKXcXpd2yCsLalO5b+td7RHUF31Ui2xoJG I/ig== X-Gm-Message-State: AD7BkJJfBiIRa4C/RBAk+1AvcuuPyIYTJZrdb1+jOMhrlLpYB3TU1CtPu1+oub25LCndJw== X-Received: by 10.98.9.83 with SMTP id e80mr33366977pfd.34.1460385789213; Mon, 11 Apr 2016 07:43:09 -0700 (PDT) From: Bart Schaefer Message-Id: <160411074420.ZM24216@torch.brasslantern.com> Date: Mon, 11 Apr 2016 07:44:20 -0700 In-Reply-To: <1460376374-9081-1-git-send-email-mikachu@gmail.com> Comments: In reply to Mikael Magnusson "PATCH: Allow / in full pattern alternations" (Apr 11, 2:06pm) References: <1460376374-9081-1-git-send-email-mikachu@gmail.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: PATCH: Allow / in full pattern alternations MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Apr 11, 2:06pm, Mikael Magnusson wrote: } } Well, it was a bit easier than I thought. What you've done is pretty close to what I was expecting/explaining with respect to adding it as a parameter flag, except without actually splitting up zglob() or looping over a parameter value. This sort of thing would actually be easier in the ksh model where a prefix character tells you what to expect from the parenthesized group that follows. Maybe we can do the same with an extendedglob marker similar to (#m) [yes, I know (#m) itself doesn't work in globbing].