From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KHfYLX+fBWCjDQAA0tVLHw (envelope-from ) for ; Mon, 18 Jan 2021 14:47:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WLm6KX+fBWDgEQAAbx9fmQ (envelope-from ) for ; Mon, 18 Jan 2021 14:47:27 +0000 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 75090940821 for ; Mon, 18 Jan 2021 14:47:27 +0000 (UTC) Received: from localhost ([::1]:60050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1VoU-0008P6-81 for larch@yhetil.org; Mon, 18 Jan 2021 09:47:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1VnP-00082j-7C for guix-devel@gnu.org; Mon, 18 Jan 2021 09:46:19 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:37003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l1VnN-0004J6-Oh for guix-devel@gnu.org; Mon, 18 Jan 2021 09:46:18 -0500 Received: by mail-wm1-x336.google.com with SMTP id g10so13997377wmh.2 for ; Mon, 18 Jan 2021 06:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=naKcUFEVZCvsV9SdBXaJLUNx5MyUwHqaZtB1gQQUBUg=; b=ACzZPOB6hFvGcujTwsFyoFARHK6Nx7eEep4KL48UCVM8XPvAGFE3/NoK3MAwkoRuBL Na2FYq7hQbLLx6+FOURQiLZXGNG2MsV864pzzEK/XaD0ObtRaP6hEShN0tq0VIy6mm9j 33q+Duqq0d4eCm2LPXhUT3D5UbwCF2xuB9ePXFGDXaP6Moijft9sw/DrghnMP7CvPCvh ZtBeIQYggTXdbs7zQvBkW1VyNk0SSoaYJ0leQfUIbPpZOAJwKyP/Xu9VOPJMxsWdGcrh dmzvNvm2GA5YilPRrWri4XCMSmDObyTY4X/X6gmL6uxEn2uB9RiNlrL10z2OnQGcEB2e lcYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=naKcUFEVZCvsV9SdBXaJLUNx5MyUwHqaZtB1gQQUBUg=; b=TGB24mNOaF1tOHTSpiNr6K3LxiM+aHIiY/cLfjHcfr7bE866f5J0RYCjkBO4bM7WMt eUTonF9rpAjxdEN0pxGp4bfTEZPOvbX4O89D0ye7ttO1w6seiB2B9NZyDmbq7djJKY1r IknTZUsFiC9TIBXvWNX+G5A2svvX+a0ZhwkpdeeEGMCUx8fl20nkWf1fjVR6/iertSUM wMfwmQzxuQ122n/lTROMZz6wGDmIQOxUrFt0hKzzPxxvjikzi2F+a7ws9ReLu9W83+/b ekEIgtWAy3F9gTvB9Ui0kz/y5wZvTOOp2ukUF5wN6dAPtnDhdLA7qhB965Qxz18dMGeL 1Jjw== X-Gm-Message-State: AOAM533wMH/zL8bMm4+17S7aahI4SYBgWh3+DpzuvPAlqtQNn4eh+Vid VkSaz7Ueid+hLv7U/N35+Q2Oxv/z/q8= X-Google-Smtp-Source: ABdhPJx9mPmbiczRnJseM32RG7ggw0CkDh6nFcD8RTxZ1ElkRZDFlHjSQuotAdJLJZ7Z4e/qcjXHtA== X-Received: by 2002:a1c:24c4:: with SMTP id k187mr21676554wmk.14.1610981176474; Mon, 18 Jan 2021 06:46:16 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l18sm5008522wme.37.2021.01.18.06.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jan 2021 06:46:15 -0800 (PST) From: zimoun To: Leo Prikler , magalilemes00@gmail.com Subject: Re: [Outreachy] Strategy to implement guix git log --pretty= In-Reply-To: <4bc2714885700ada6c72e19771789fda0ee634be.camel@student.tugraz.at> References: <4bc2714885700ada6c72e19771789fda0ee634be.camel@student.tugraz.at> Date: Mon, 18 Jan 2021 15:45:33 +0100 Message-ID: <86czy29ucy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ACzZPOB6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 75090940821 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: NsveHUr7Kiu8 Hi Leo, On Wed, 06 Jan 2021 at 09:10, Leo Prikler wrote: > have you looked into (ice-9 peg)? An easy pretty grammar, that would > catch your example would be the following: This should be my preference too. :-) However, it seems easier and faster to use simple regular expressions. At least, at first PoC. Thanks for the suggestion. Cheers, simon