From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 IN1UMAdPbWOZZQEAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 20:20:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8K5dMAdPbWNPrQAAauVa8A (envelope-from ) for ; Thu, 10 Nov 2022 20:20:39 +0100 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 66C2047A25 for ; Thu, 10 Nov 2022 20:20:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otD5z-0002Je-Tw; Thu, 10 Nov 2022 14:20:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otD5x-0002GU-9m for help-guix@gnu.org; Thu, 10 Nov 2022 14:20:13 -0500 Received: from mx1.dismail.de ([78.46.223.134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otD5u-0007B0-MM for help-guix@gnu.org; Thu, 10 Nov 2022 14:20:13 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 824cb3fb; Thu, 10 Nov 2022 20:20:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= 20190914; bh=OfYzsfcNfWfdEGWXXNy12U6AijifT/LPUuMTgdEN12g=; b=K2C ALxBTT5Nts0c8GeE3mJrQXexfHb/DZsHVu7bBMKOoZnpb9XiD2eXCX6s4YRf8eMJ uqo7dzvSDjOXGfz+TXCoI89TZEgw4akMBx4BppaI/35hf86mL0RT8X8ukDMXyiUf zE+PIdAxLW5Id18x2pgY6wszk5EyC7GeQEQi39l1dW9n1dsw6Cwu+I6ztmJALf71 xXkpf02Q430KD9ZYK/GA82s65Qz44qgFoJkXEbYXEikWk71z6SULR0rvh+zgQKKZ Kc2nnnm4RqJ8813QZOkaemQzOEJ1r/wccR4qtfkiEJHY4pVyFa62M7qvSAsuAHIy bJ/YEbCxLwWvP59LnAw== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2a5b17fc; Thu, 10 Nov 2022 20:20:03 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id c0ec0a48; Thu, 10 Nov 2022 20:20:03 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id cbd17470 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 10 Nov 2022 20:20:02 +0100 (CET) Date: Thu, 10 Nov 2022 13:19:55 -0600 Message-ID: <20221110131955.GB13414@dismail.de> From: jgart To: Julien Lepiller Cc: help-guix@gnu.org Subject: Re: Regex Rules In-Reply-To: <9709062C-A628-4541-AF15-90D52570B704@lepiller.eu> References: <20221109200412.GB30663@dismail.de> <9709062C-A628-4541-AF15-90D52570B704@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668108039; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XcRLdLl253U/eTaYKsa2eFxeS7h7dbtL153h/HE/Yg0=; b=jYE313Yt9FZZsjaakWt3ivTJaE8bX/Own5sjb0smB3RwMSbls7rGfW4hqIpDXK0kDq5d7U 9Xlu892x4xVrn1z/NLVkvYuKhdAKghs4OEe7VflNFAl2ECLLSFxFXpXBr4J+IgS/gvPSfI fwL/2wv4dPWTYc8Qw+5pL161uyMj+smmt+tt0omIlm96+6gpIDI+NKtNabUZlzZkBldkfo p6eLXkswamIblblER7i0zWrdpBZk5d4TqIA9F/roo6dqIBJpE7UjGsjqqb4xzcrkRTOCyz WO+n4oQccIlyg29z99QcZdtMo+Aiy9fMcWTUO1rA+31ME5oaVBxj/Kct68fDbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668108039; a=rsa-sha256; cv=none; b=nPMlO+lOI3uxpbWV7ZzLpik/pqz3w8tAQl3QXHTOssaV62lF20w9abGhyjuiG8nNQYfKSv MxFr40gq8hdcFfwvFm7fzex9AIGobu1EU5ofsuLzaQRthaxAPt2z2tqeEC9GiiPQitFFqi AyRhueeLNLsVj5W6bcP0+xoD7ehbXBZoHqrfl4CEKu913CO0U/EfwQGOZMpBflxyAli5OJ glm2v402CJolQkv1V37U+C4uW+h2asbfOnGq9QKA1XYeVeTGeSnsY9GH32qDajpPFKPuDs 56thvGiVk8pw1oHhPuTdScpgLTLn38zR6y3Vfo0X2czZ/cIQSrLSlc1pcQrDJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="K2C ALxB"; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="K2C ALxB"; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 66C2047A25 X-Spam-Score: -7.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: ymFLmj46Si7A On Thu, 10 Nov 2022 07:37:00 +0100 Julien Lepiller wrote: > \\ is for inputing a single \ (it needs to be etcaped in guile strings). Then, the rest is a Guile regexp, wgicg you can liarn about at https://www.gnu.org/software/guile/manual/html_node/Regular-Expressions.html. > > The manual says it's POSIX regexp, whatever that means :) I'm familiar with posix regex from using vis: https://github.com/martanne/vis But, iirc vis regex are different from Guile's I might be wrong on that. I'll have to check the parity between the two thanks, jgart