From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64889 invoked by alias); 23 Jun 2015 17:13:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 64860 invoked by uid 89); 23 Jun 2015 17:13:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f171.google.com Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 23 Jun 2015 17:13:03 +0000 Received: by obbop1 with SMTP id op1so10513136obb.2 for ; Tue, 23 Jun 2015 10:13:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CdO2fHbRH7GsRdXDT+g5TUV0buszjVCuqtBLjVtb8Ko=; b=V0bTo4Ccs80MFRpapje/xNsHdUbgqAERwPVRqbrerfMBe7qU0/7I346ELShs4sJfn3 j9bevX1EYRq4IszJM+XjN5H+CbHgrioIH5RR4aBJcShfy7U0MQXCqy+TneS7Uy4YFmyW iSx9k+81EnozwjcSNSdhOjepuDi3IQTPyh7OOPVyTEam7s3FtnbgrE9+F5PO3TpGEwal ynHZ/ZZ0Kz1xdREhBkL9kufgEv+XgyeX444zZJqzZuBdC7nACuzWSD4Bn0PvBvqYr56c c6PLHTIKn2rBwEtL7GzNtXUAB9awIvYpv3MWRCu8HA/6pOvAzbaM1bvqk32XfILDiJVw hzJg== X-Gm-Message-State: ALoCoQkUh7sD4jWf+XI9Gq19FqSyh0F5Y4QpIAtmlOrRzs1qZfEbYwaLM1PI4lpzXT/2kvTMUzz7 MIME-Version: 1.0 X-Received: by 10.60.80.229 with SMTP id u5mr30967480oex.27.1435079581773; Tue, 23 Jun 2015 10:13:01 -0700 (PDT) Received: by 10.182.89.99 with HTTP; Tue, 23 Jun 2015 10:13:01 -0700 (PDT) In-Reply-To: <87zj3qqrt4.fsf@igel.home> References: <1434775646-2625-1-git-send-email-martin.galvan@tallertechnologies.com> <86bng8rtva.fsf@gmail.com> <87zj3qqrt4.fsf@igel.home> Date: Tue, 23 Jun 2015 17:13:00 -0000 Message-ID: Subject: Re: [PING][PATCH] testsuite: Escape a loose '[' character inside a regexp. From: Doug Evans To: Andreas Schwab Cc: Yao Qi , Martin Galvan , gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00489.txt.bz2 On Tue, Jun 23, 2015 at 12:04 PM, Andreas Schwab wrote: > Doug Evans writes: > >> Actually, this is arguably s.o.p. Bleah. >> Otherwise \r\n inside {} won't get expanded as CR,LF. > > \r\n are also special for tcl regexps. So it doesn't matter whether > they are expanded by the tcl parser or the regexp engine. Sorry, yeah. http://tcl.tk/man/tcl8.5/TclCmd/re_syntax.htm