From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id UNTkFXxbwmP7lhYAWB0awg (envelope-from ) for ; Sat, 14 Jan 2023 02:36:28 -0500 Received: by simark.ca (Postfix, from userid 112) id 48FB41E128; Sat, 14 Jan 2023 02:36:28 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=SZcSYJQe; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 557431E0D3 for ; Sat, 14 Jan 2023 02:36:27 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AAEBC38493D3 for ; Sat, 14 Jan 2023 07:36:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAEBC38493D3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673681786; bh=rgGwhC7qY5d7Vf+/z8nKCZzYmYWq9tAGGHOZyhmPv2E=; h=Date:To:Cc:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=SZcSYJQeooFAUkjgRFHLX5ZhlKaa/EwX9BukT0ZsggoWNjbGYKcfnyhKpmiIt1CSa YnXwXWh7QcG56JVTlXskN+sZKU3GAD4wLfPRnO7DsiHEZA6CueuniOeC7mHzOHCnhy KlHrcDT3LdB3s/aDwJOVJGK4rcksNJd2Q6ZvHwAc= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id F16DF3858C50; Sat, 14 Jan 2023 07:36:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F16DF3858C50 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGb56-00086G-3U; Sat, 14 Jan 2023 02:36:00 -0500 Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGb55-00047b-IZ; Sat, 14 Jan 2023 02:35:59 -0500 Date: Sat, 14 Jan 2023 09:36:02 +0200 Message-Id: <83k01p8t5p.fsf@gnu.org> To: Enze Li Cc: schwab@linux-m68k.org, gdb-patches@sourceware.org, binutils@sourceware.org, enze.li@gmx.com In-Reply-To: (message from Enze Li on Sat, 14 Jan 2023 12:36:41 +0800) Subject: Re: [PATCH] libctf: update regexp to allow makeinfo to build document References: <835ydaa304.fsf@gnu.org> <87lem6tpjq.fsf@igel.home> <83358ea17i.fsf@gnu.org> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > From: Enze Li > Cc: Andreas Schwab , gdb-patches@sourceware.org, > binutils@sourceware.org, enze.li@gmx.com > Date: Sat, 14 Jan 2023 12:36:41 +0800 > > On Fri, Jan 13 2023 at 10:44:36 AM -0500, Eli Zaretskii wrote: > > >> From: Andreas Schwab > >> Cc: Enze Li , Eli Zaretskii , > >> binutils@sourceware.org, enze.li@gmx.com > >> Date: Fri, 13 Jan 2023 16:36:09 +0100 > >> > >> On Jan 13 2023, Eli Zaretskii via Gdb-patches wrote: > >> > >> > IMO, this solution has the same problem: it will stop working when > >> > Texinfo 10.1 will be released. I think the solution should be to use > >> > > >> > egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9][0-9]?)' > >> > >> Since the match is not anchored, the trailing [0-9]? pattern is redundant. > > > > Right. But I now actually think we need something different, like > > > > egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]|[1-6][0-9])' > > Hi Eli, > > Thanks for your swift reply. > > I've tested the following possible version numbers, > > 6.2.1, 6.3.1, 6.9.1, 7.0.1, 9.9.1, 10.1.1, 60.1.1, 199.1.1, 999.1.1 > > with the command like this: > > $ echo "(GNU texinfo) 6.2" | \ > egrep 'texinfo[^0-9]*(6\.[3-9]|[7-9]|[1-6][0-9])' > > All of these tests are Okay. > > I sent a new version to the list, ok for the trunk? It's fine by me, but I cannot approve changes to all the repositories by myself. So please wait for others to approve the change before you install it.