From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UNENNRdWbWMzDwAAbAwnHQ (envelope-from ) for ; Thu, 10 Nov 2022 20:50:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KDRRNBdWbWNVPQEAG6o9tA (envelope-from ) for ; Thu, 10 Nov 2022 20:50:47 +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 BB64E6B63 for ; Thu, 10 Nov 2022 20:50:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1otDZ9-0004f4-BL; Thu, 10 Nov 2022 14:50:23 -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 1otDZ8-0004dn-9Y for help-guix@gnu.org; Thu, 10 Nov 2022 14:50:22 -0500 Received: from linode.us-core.com ([2600:3c01::f03c:93ff:fe26:6229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1otDZ6-0001Su-H7 for help-guix@gnu.org; Thu, 10 Nov 2022 14:50:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=aw67y2gSb3NV6wR jag1YFA96u8pt3RGeSSlqO3mrK18=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=qzmvZZWhBXbVeJFVAGBg2faP6IV2TdtQfoTfz3p2 sqKN4cT/ch6KJUfCwBjdEkd/vifx98c1KgKhbPrw8ruPUFTV6OtoSBTTy35uo6mtMIXneC KpLXa7LkvdgmW8bXS5dbqhf/mEzNDTN03aQWdtb/v3SqyrEHmqohjphYd7Xy0= Received: by linode.us-core.com (OpenSMTPD) with ESMTPSA id f408a165 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Thu, 10 Nov 2022 19:50:13 +0000 (UTC) Received: by mail-lj1-f174.google.com with SMTP id b9so2152686ljr.5 for ; Thu, 10 Nov 2022 11:50:13 -0800 (PST) X-Gm-Message-State: ACrzQf1AuSkM3nEroH0Ub5HHxy2fdm/8ocfcGPDFU4d6AJf4YmFeJkSx JetpsvjW7Zi7cKrSQ80dt8REaUlTlanyy706ux8= X-Google-Smtp-Source: AMsMyM7TC6bou6VaEhFX8mKfy1Wj6AfShDWBMT1+8HV+pmt3OYlKRn+mChUTOqwVTbdtSr+yQKhgfjFCUnIxybIGvmg= X-Received: by 2002:a2e:99d0:0:b0:277:7c4:6c49 with SMTP id l16-20020a2e99d0000000b0027707c46c49mr9759687ljj.276.1668109812112; Thu, 10 Nov 2022 11:50:12 -0800 (PST) MIME-Version: 1.0 References: <20221109200412.GB30663@dismail.de> <9709062C-A628-4541-AF15-90D52570B704@lepiller.eu> <20221110131955.GB13414@dismail.de> <87eduappir.fsf@nckx> In-Reply-To: <87eduappir.fsf@nckx> Date: Thu, 10 Nov 2022 11:49:35 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Regex Rules To: Tobias Geerinckx-Rice Cc: jgart , Julien Lepiller , help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2600:3c01::f03c:93ff:fe26:6229; envelope-from=felix.lechner@lease-up.com; helo=linode.us-core.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 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_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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: , Reply-to: Felix Lechner From: Felix Lechner via 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=1668109847; h=from:from:sender:sender:reply-to: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=aw67y2gSb3NV6wRjag1YFA96u8pt3RGeSSlqO3mrK18=; b=EHLVPBle3725WOCSK+r8ZqwWybNm4x8XQfywhdSO3iOj+0AFTuDX7hXlrmQQWxX8U4ObJE oBeTtqE9sTG7djFTjqTdjruxXe5E66o4Jml8Sf8KpknZsQbhxDv5RLZniLhuB6DhVfY/75 liD0N1J93bEj52B+x3t8dbmBoo3fwPjmspQ2OjlYnMswM23oedUMUJsjD5W86AAJAEsdXG xQhx84F7Xqy2SVx+D+st5lOKS/YH+fxVig9ysZ+HmRmAMabZ2fUBdMjGIPHcbQkYLlLmjV yqaX4wSLEritUd9oe32ZRHxGFh8lvA791V6Bg8aV8xVbqTHKUwDQxqeU035jMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668109847; a=rsa-sha256; cv=none; b=Iv2DpA/IWxpEZbWq9iXTKVNkMVl1Jm4Pk9OWqFEMd1tIis7NGSJO05+waY29/j24XxFXhj Uy/nVObKZy6o1uQNYpBoCFqd7Pw/B0+oE5bBm1qwJ8qnFRgL3WBMgSamXUltgVjwg6ZVzT ieqIUqt8MG6QIVdnm5CLKS9xirnOGjtm6o13MSWauPHgXe4SrWMipYfODVrwqaUS1mrUMk 5mT5HUiM2GfUJKnbQR+rGCu8U/bTues2dCgSL6phyo/q4Nd07Vwpezpvq7OMM3gcrb4dfU 9LSC070LlFm6Pb/E76peLw3yYBTn8HIxILruSQy1OFIVkgDtGLxuEhzuT2O9GQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=qzmvZZWh; dmarc=pass (policy=none) header.from=gnu.org; 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: 2.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=qzmvZZWh; dmarc=pass (policy=none) header.from=gnu.org; 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: BB64E6B63 X-Spam-Score: 2.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: UWWham3wIwpN Hi, On Thu, Nov 10, 2022 at 11:39 AM Tobias Geerinckx-Rice wrote= : > > =E2=80=98By default, Guile supports POSIX extended regular expressions.= =E2=80=99 =E2=80=94 Yes, the word "extended" is often omitted. A good summary is here. [1] POSIX adopted some, but not all, of the Perl Compatible Regular Expressions (PCRE), which are more powerful but older. From the 'grep' manual page (see the -E switch): "In basic regular expressions the meta-characters ?, +, {, |, (, and ) lose their special meaning". Kind regards Felix Lechner [1] https://en.wikibooks.org/wiki/Regular_Expressions/POSIX-Extended_Regula= r_Expressions