From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: regular expressions that match nothing Date: Wed, 15 May 2019 23:38:01 +0200 Message-ID: <8736lfz9dy.fsf@web.de> References: <7a6b23f52418b093a4cf7a6db4306cf425533249.camel@acm.org> <87a7fnzd3u.fsf@web.de> <128EBFB8-78FF-47C3-8F28-C1EF91BFC4BB@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94377"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 15 23:38:56 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hR1by-000ONJ-Sp for ged-emacs-devel@m.gmane.org; Wed, 15 May 2019 23:38:55 +0200 Original-Received: from localhost ([127.0.0.1]:43103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR1bx-00089s-OX for ged-emacs-devel@m.gmane.org; Wed, 15 May 2019 17:38:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR1bN-00089k-Jf for emacs-devel@gnu.org; Wed, 15 May 2019 17:38:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hR1bM-0007HQ-Qn for emacs-devel@gnu.org; Wed, 15 May 2019 17:38:17 -0400 Original-Received: from mout.web.de ([212.227.15.14]:53989) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hR1bM-0007Gk-HB for emacs-devel@gnu.org; Wed, 15 May 2019 17:38:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1557956284; bh=kYE8jzusQt6VYYGTtk2fpRQsS0+KKh7NHAN6byiOS4o=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=HB+aatT7Ul1U0fyvKnzF51xmVnWjwGykVtcVdHVnMg9e15BZXLmS5ZBb2ssSVUjEN 8HOsNifk/tpHoiAhcKFHpQm/FDHVrTTSHUjV1ToccNeg2tNJeb/NPk0+SGO3sLOxN3 0/HCqnLCLcsdsgeN+p4u4DV6H4zmd77fArh8gghw= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([188.110.143.34]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MYejS-1hEUg53Qfq-00VSer; Wed, 15 May 2019 23:38:03 +0200 In-Reply-To: <128EBFB8-78FF-47C3-8F28-C1EF91BFC4BB@acm.org> ("Mattias \=\?utf-8\?Q\?Engdeg\=C3\=A5rd\=22's\?\= message of "Wed, 15 May 2019 23:07:11 +0200") X-Provags-ID: V03:K1:oWcFn5fkGNbNPWhwD2OzN/pfnRSCuIgoqx49k1cUTpbJ4FB5EJJ ehfOE38zyPoRDNYOFZTQ6T7jQ1MVEWAP7oJHhF3U4tMTO2TAoKuDQ7y88fjFPEGduXsRVi8 YxNbfrpIg1TUzY8OA5JiRo/6A8o1PgloOq8d3sl4BhhzI3cD1lcIJ2te7bo/im24cVcuLcD h/p64xOj8tpaBPbm955IQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:D+4hK+CKviA=:q1UmQ9hLCNdywtFqAgipMb 8Nu4vSQQI0bkc3jUV54KTraM2MlFuZFCs8PRWetHgFmzN2277rt5JbvkUcVL3A4KSdM5hqND+ LAbzih4ZFqnNkkTmEt+o52hjk+dvBt8gwO2p8oLUkkVGmGbAGH5t6jtntWDI2Mb5cEbAKGweQ K/iBjWaa6+ocOIT4Z/ohw07I6DyI2zj9FmCCcDTbpvMe5fsefZxP4DO+wJNtzkvv2H9nIXj+p uXbIPWc7ji8jSZlb9cMzfNNelu3gaxCAmMP/DIK+qKeNiSLy0B/CY7E8YbUb45a0aDQJRL9FF v0VOzqVM/UTo8Xd6KKKa6xcJnbvOYJ26j144iR0y2rZcGEgekpQ8lG7Qu6DVBtsjrxL4YX9Mx sXPnTaLz+iLk044/pOJfXQkuNIW8x9lAwJkYq1+MEocklzlTDDr83sYLow7Xu4ojcVW51FTYv xHPuKMRqZXyjDgIaztlvDCwDGF9WZtGPKJHFtBCKiz1lYXkQ9RBp2IodUV98Doye2CsmFXbPn 0pUx5yTard0jQ+KZ71sGew29juFwIrvLy/Zq/cVy3G2B3GzgXzsPjH/9DNx1Oity4wLTfW6DT sLGijZKULMjfxEqE823COMLb1wH2t5F9W+LYNd++qPKSgtHxASEH5omM8MwKhbR6BEZEyzhiz PFqFBqU/fAj6vKzPHkeeZ+VnXoaKRGecs4raiP3OQJuRMKvErZ25EVLqhDYLm3S+inJoODl2T 3DSJcQcpNhMNfNCwbbj6Iqc7xqAfZAUxrip6O4YBvcL2IIIUOB4XNqQSSuEHNkAnE64EfuA2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:236557 Archived-At: Mattias Engdeg=C3=A5rd writes: > 15 maj 2019 kl. 22.17 skrev Michael Heerdegen : > >=20 > > Should there be an rx regexp form for this? > > We don't necessarily need a special form for it; we can just make > `(or)' work. > > Proposed patch attached. (I also added its dual, (seq), since it would > be silly not to.) Makes sense to me, thanks. Michael.