From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12259 invoked by alias); 16 Oct 2015 05:42:57 -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: 20770 Received: (qmail 22590 invoked from network); 16 Oct 2015 05:42:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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.0 X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=vsFYQC4/11PqlKifmEOq9w==:117 a=vsFYQC4/11PqlKifmEOq9w==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=Ph3O-3t2gtPMlhdLK8oA:9 a=QEXdDO2ut3YA:10 Message-id: <56208E5E.2030605@eastlink.ca> Date: Thu, 15 Oct 2015 22:42:54 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: backreferences References: <561FF039.9020202@eastlink.ca> <151015161602.ZM30622@torch.brasslantern.com> <56204FD3.9040500@eastlink.ca> <151015193032.ZM30783@torch.brasslantern.com> In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit On 10/15/2015 09:27 PM, Kurtis Rader wrote: > On Thu, Oct 15, 2015 at 9:11 PM, Mikael Magnusson wrote: > As a recovering Perl addict I cannot +1 this comment enough. Regular > expressions are highly addictive and dangerous. But as Mikael points > out it is extremely easy to write a regexp that is worse than worthless. Indeed. When it goes wrong it can be a spectacular mess. I could never abide the fact that sed doesn't have a confirm mode. There's 'regexxer' that does. Still, what else than regex is there? Is there any avoiding it?