From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: regular expressions that match nothing Date: Thu, 16 May 2019 11:12:04 -0700 Message-ID: <87ftpefevf.fsf@ericabrahamsen.net> References: <7a6b23f52418b093a4cf7a6db4306cf425533249.camel@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="209998"; 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 Thu May 16 20:13:04 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 1hRKsJ-000sVb-RM for ged-emacs-devel@m.gmane.org; Thu, 16 May 2019 20:13:03 +0200 Original-Received: from localhost ([127.0.0.1]:33613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRKsI-00081Z-Rb for ged-emacs-devel@m.gmane.org; Thu, 16 May 2019 14:13:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRKrj-00081J-A3 for emacs-devel@gnu.org; Thu, 16 May 2019 14:12:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRKri-0003wK-IF for emacs-devel@gnu.org; Thu, 16 May 2019 14:12:27 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:40638 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRKri-0003jB-Eq for emacs-devel@gnu.org; Thu, 16 May 2019 14:12:26 -0400 Original-Received: from localhost (50-251-205-17-static.hfc.comcastbusiness.net [50.251.205.17]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id C67FDFA625; Thu, 16 May 2019 18:12:06 +0000 (UTC) In-Reply-To: <7a6b23f52418b093a4cf7a6db4306cf425533249.camel@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Wed, 15 May 2019 18:21:07 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 52.70.2.18 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:236590 Archived-At: Mattias Engdeg=C3=A5rd writes: > tis 2019-05-14 klockan 15:41 -0400 skrev Stefan Monnier: > >> Yes, please. I'd recommend a `regexp-` prefix for it. > > Well, since you asked so nicely! > >> [ And I'll carefully avoid having an opinion on the rest of the name. >> ] > > The correct name is obviously something like `regexp-empty', but I have > to concede that it might be misinterpreted. The attached patch uses > `regexp-unmatchable' which is reasonably descriptive. Better > suggestions are welcome. regexp-null? It's also a little cryptic, but it's short!