From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IFuxMuJecWK/3AAAbAwnHQ (envelope-from ) for ; Tue, 03 May 2022 18:57:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wPm0MeJecWIWVwEAG6o9tA (envelope-from ) for ; Tue, 03 May 2022 18:57:06 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6BB181408E for ; Tue, 3 May 2022 18:57:06 +0200 (CEST) Received: from localhost ([::1]:35346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlvph-0003Yz-M9 for larch@yhetil.org; Tue, 03 May 2022 12:57:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlvmk-0000OI-DD for guix-patches@gnu.org; Tue, 03 May 2022 12:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlvmj-0006Wj-Vh for guix-patches@gnu.org; Tue, 03 May 2022 12:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlvmj-00067D-SN for guix-patches@gnu.org; Tue, 03 May 2022 12:54:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55242] [PATCH 08/10] guix: import: go: Modules in a subdir and prefixed tags. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 May 2022 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai , 55242@debbugs.gnu.org Received: via spool by 55242-submit@debbugs.gnu.org id=B55242.165159683223490 (code B ref 55242); Tue, 03 May 2022 16:54:01 +0000 Received: (at 55242) by debbugs.gnu.org; 3 May 2022 16:53:52 +0000 Received: from localhost ([127.0.0.1]:40889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlvmZ-00066o-VC for submit@debbugs.gnu.org; Tue, 03 May 2022 12:53:52 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:35170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlvmY-00066f-AK for 55242@debbugs.gnu.org; Tue, 03 May 2022 12:53:50 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id SGtp270064UW6Th06Gtppn; Tue, 03 May 2022 18:53:49 +0200 Message-ID: <27abb4025a581b0fda4cfe8b7e71f9a6e6ca6dbb.camel@telenet.be> From: Maxime Devos Date: Tue, 03 May 2022 18:53:46 +0200 In-Reply-To: <20220503114301.9524-8-attila@lendvai.name> References: <20220503114301.9524-2-attila@lendvai.name> <20220503114301.9524-8-attila@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-+blyQdVXf6U5fn+o7mI2" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651596829; bh=VmyzloW1Kiw8WIkZfONEuod4eBDAKad9xtKczbDKFxI=; h=Subject:From:To:Date:In-Reply-To:References; b=oZQqQIWOAucBDWMTU9cldLhhCkgjx4rSmvoQV2v4WQxMY9uX15IVgrlJsRdl9UAj0 bRcRboedrTxcKsvkAD28+r+FDrhYzKsDN8ADqHtYgJCQP50kK266D4+t36aHlCuAPX 0NBmCFe5iDrtkbRmUYinP7vVzoupdLoPmzTLyK/Q/h/KsRW3mmpHDCq7kqVFagjz0X NoXVYDY0Zqn954In1YcQ1dXa9e6fFJVMWOA/9L+xY0rVUye202DYfjVuhSmuIQCWTN Q2cBsavVqjZaJZyL0niDlkPqe9quob2LQGf7DnHweFH7hlKBn1s0Xf7lhZMZAwMuCu fu0G9OxhTp+qQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651597026; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=VmyzloW1Kiw8WIkZfONEuod4eBDAKad9xtKczbDKFxI=; b=exOAx+wo0/HO2kRCABXNjbYlAJ7he0MpGI2IEFpOPGY46HrksaBK/D4OU022A2KpugxqD0 CkXLooTjcTCcJogTdBzbiJehdL4QRRAN0YP8OMeqeL2TyizaNvktjar5/lodH8/42rs0K+ QjZo6fSGyM6U3SV5J8YXU1RBtI253g4urPkaqzqRQqVUHFtsFZ8udvGFiJBGkoBZoI5hNh FBykXA2+ASd2dcxtLutq3AxvQ71yoQTwMjVMK8JTqVnv6pOOUsUM1d/7CsabIyU8MbpOtP 5D2vwKDmN7pSD8U4NeFsm4IKRLfiR+NdcjI1oDSvO/OBhzHp3lr1t5nBOYYDOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651597026; a=rsa-sha256; cv=none; b=bDTPNYcu/C5Oze0rudcXgMqF5cX37p7i0YejeKXZsLxCP6zUpZM5etSZ//uxyQsJqSouvn QjzX91VT3ArrTjlhNTAkj8/8nlUt++9lX3JNMg06KCAPF97UUtcqjOZNUqka40T2EEfp7u VyU1tf2eQDyI5K0cLrExpT6tIpWUP6bRYqzsuA+TZi+w+oJcfGI27tvrKXUGr3dJ883k5H G9fCHFG485SiC1zue9uz9mZcydDMN89rvZBz5BunMPcZFOq1KK5neKXhT/1BNXTCrD5ABk CFsoisxxIGeswKekcMppXyhQK2FbVjuQuBUMpGUH9bXV73qe2M9cU0+ZWhh86g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=oZQqQIWO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=oZQqQIWO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6BB181408E X-Spam-Score: 3.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: UeRprw6umpml --=-+blyQdVXf6U5fn+o7mI2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attila Lendvai schreef op di 03-05-2022 om 13:42 [+0200]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-match ".*v([0-9]+)$" raw-subdir)) Why a $ at the end but no "^" at the beginning? What's the point of the leading ".*"? Could the regexp be constructed in advance, or only once (maybe 'delay/force' and a global variable) -- turning a regexp into a NFA into a DFA can be expensive. Greetings, Maxime. --=-+blyQdVXf6U5fn+o7mI2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnFeGhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7og8AQCYqIFAC13fe33qxn9vUYrMJEAJ N+rrrm5iz2LgFUiM4wEAiCFxzi/t1G5eNqJvH6ywOqUioNRJiDIOpls8M7LZ2Q0= =GIIz -----END PGP SIGNATURE----- --=-+blyQdVXf6U5fn+o7mI2--