From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100774 invoked by alias); 17 Dec 2018 18:07:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 100752 invoked by uid 89); 17 Dec 2018 18:07:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Kargl, d'Humi=c3=a8res, dHumires, dhumires?= X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Dec 2018 18:07:02 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id wBHI6lQD009398; Mon, 17 Dec 2018 12:06:49 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id wBHI6dgS009390; Mon, 17 Dec 2018 12:06:39 -0600 Date: Mon, 17 Dec 2018 18:07:00 -0000 From: Segher Boessenkool To: Steve Kargl Cc: "Dominique =?iso-8859-1?Q?d'Humi=E8res?=" , gfortran , gcc-patches Subject: Re: [PATCH] PR fortran 88116,88467 -- Catch array constructor errors Message-ID: <20181217180637.GZ3803@gate.crashing.org> References: <3E6B99F0-1CEA-4490-AE5C-A91937CBF2BB@lps.ens.fr> <20181216154645.GA19671@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181216154645.GA19671@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg01236.txt.bz2 On Sun, Dec 16, 2018 at 07:46:45AM -0800, Steve Kargl wrote: > On Sun, Dec 16, 2018 at 11:45:11AM +0100, Dominique d'Humières wrote: > > Hi Steve, > > > > The patch works as expected. > > > > Is "Can\’t " instead of "Can’t " really necessary? > > > > I don't remember how dejagnu handles quotes in the > regex expression. "Can\'t" seems to work (for me). > If you want to change it, go ahead. Personally, I > would prefer "Cannot". A backslash in a double-quoted string is handled by backslash-substitution, before it is ever seen as a regexp. "\'" is exactly the same as "'". In a braced string it does not get backslash-substitution and then it _is_ handled by the regular expression parsing, but again, as RE {\'} is exactly the same as {'}. Segher