From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 635 invoked by alias); 4 Apr 2017 12:32:41 -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: 22657 Received: (qmail 5074 invoked from network); 4 Apr 2017 12:32:41 -0000 X-Qmail-Scanner-Diagnostics: from mout.gmx.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(212.227.17.21):SA:0(-3.5/5.0):. Processed in 0.933591 secs); 04 Apr 2017 12:32:41 -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=-3.5 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: llua@gmx.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at gmx.com designates 212.227.17.21 as permitted sender) Subject: Re: REMATCH_PCRE with zsh built without pcre support To: zsh-users@zsh.org References: <27c2026c-f760-32b0-e0d5-8c6909346979@gmx.com> <170401145348.ZM30308@torch.brasslantern.com> <20170403011159.GA64116@tower.spodhuis.org> <20170403112611.GA4333@fujitsu.shahaf.local2> <170403110016.ZM12756@torch.brasslantern.com> <20170404003649.GA6581@fujitsu.shahaf.local2> <170403194343.ZM13808@torch.brasslantern.com> From: Eric Cook Message-ID: <6258339f-3cf9-30e2-d771-8a74d15c2491@gmx.com> Date: Tue, 4 Apr 2017 08:27:16 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <170403194343.ZM13808@torch.brasslantern.com> Content-Type: text/plain; charset=windows-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KjvL7SA05IW/KE5GnlQrcQ239U5ezY52OkWAN0o+R0KG 4sHhP3D On 04/03/2017 10:43 PM, Bart Schaefer wrote: > If we go with the module-specific hack in options.c, we should also have > an option-specific hack in Modules/pcre.c so "zmodload -u zsh/pcre" is > an error when REMATCH_PCRE is set. Enforced dependence cuts both ways. > If it isn't trivial to do, we could just commit the man page patch daniel posted, because i was also under the impression that zsh/regex would've been used when pcre wasn't available based on the sentence that didn't really explicitly say that it would. This is the first time i've seen someone run into the problem, but it seemed simple enough for other people to trip over if they do set the option and use their .zshrc across different OS'.