From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rgGwhC7qY5d7Vf+/z8nKCZzYmYWq9tAGGHOZyhmPv2E=; b=bzgL3TYjVEjJ BsTZ7QNbqvdMSXLF5h8Qnd3Z11fPq+5Gd+PoIQW7/OC2boYHNVi6pZoAWcwHO48HOFR3Z1G9X/GDO AY4oQfQFp7Fsv05l2prQE1j7Iv2T5qc6M7dneNR+qEEsPFiJq1wQmjxck6SoVPrL+Dz0f3nykyz1R aUunlN4ziOqhhlG2h1tqnoynBtoCvvLsgRGci+Ajae5OG1uP2fPq8fmEc1nE6cH8flvVOk+UB1v5T D8/4Bix0DU7LAG2h5pIQlo3bINBTQq9BkfaCGEPuB/RcIi+Pa2O1sl5F3Sy6cjHpATIRmmMrRqw4g 14Ps1s9y+D67WFBakLTAOg==; 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> From: Eli Zaretskii 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-Spam-Status: No, score=1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > 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.