From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10604 invoked by alias); 29 Oct 2017 11:53:32 -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: List-Unsubscribe: X-Seq: 41960 Received: (qmail 26260 invoked by uid 1010); 29 Oct 2017 11:53:32 -0000 X-Qmail-Scanner-Diagnostics: from aok120.rev.netart.pl 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(85.128.245.120):SA:0(-1.9/5.0):. Processed in 2.008411 secs); 29 Oct 2017 11:53:32 -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 autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: psprint@zdharma.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Virus-Scanned: by amavisd-new using ClamAV (1) Date: Sun, 29 Oct 2017 12:40:11 +0100 From: Sebastian Gniazdowski To: zsh-workers@zsh.org Message-ID: Subject: Localize MATCH, MBEGIN, etc. in _zstyle and _globquals X-Mailer: Airmail (442) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="59f5be1b_4e22e13d_98a8" --59f5be1b_4e22e13d_98a8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I was searching for regex usage (=3D=7E)=C2=A0and didn't find anything me= aningful (would replace with (=23b) or (=23m) so that e.g. default static= build works fine). However found (=23m) use and not defined local MATCH,= MBEGIN, MEND. To not surprise user with overwriting his matching results= , I've localized those parameters in two Zsh-related completions. -- =20 Sebastian Gniazdowski psprint /at/ zdharma.org --59f5be1b_4e22e13d_98a8 Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="=?utf-8?Q?local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