unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: net june <netjune@outlook.com>
To: "Eric Abrahamsen" <eric@ericabrahamsen.net>,
	"Mattias Engdegård" <mattiase@acm.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: 回复: regular expressions that match nothing
Date: Sun, 19 May 2019 04:30:37 +0000	[thread overview]
Message-ID: <PS1PR04MB2821E32B3D25FFCB60D8DC8BB7050@PS1PR04MB2821.apcprd04.prod.outlook.com> (raw)
In-Reply-To: <87ftpefevf.fsf@ericabrahamsen.net>

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

What about regexp-nothing or re-nothing?
________________________________
发件人: Emacs-devel <emacs-devel-bounces+netjune=outlook.com@gnu.org> 代表 Eric Abrahamsen <eric@ericabrahamsen.net>
发送时间: 2019年5月16日 18:12
收件人: Mattias Engdegård
抄送: Stefan Monnier; emacs-devel@gnu.org
主题: Re: regular expressions that match nothing

Mattias Engdegård <mattiase@acm.org> 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!


[-- Attachment #2: Type: text/html, Size: 1805 bytes --]

  reply	other threads:[~2019-05-19  4:30 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-14  7:25 regular expressions that match nothing philippe schnoebelen
2019-05-14 10:14 ` Mattias Engdegård
2019-05-14 19:41   ` Stefan Monnier
2019-05-15 16:21     ` Mattias Engdegård
2019-05-15 19:41       ` Alan Mackenzie
2019-05-16 10:54         ` Mattias Engdegård
2019-05-16 23:18           ` Phil Sainty
2019-05-17  9:43             ` Alan Mackenzie
2019-05-17 10:17               ` Mattias Engdegård
2019-05-17 12:53               ` Stefan Monnier
2019-05-15 20:17       ` Michael Heerdegen
2019-05-15 21:06         ` Stefan Monnier
2019-05-15 21:07         ` Mattias Engdegård
2019-05-15 21:38           ` Michael Heerdegen
2019-05-16  6:57           ` More re odditie [Was: regular expressions that match nothing] phs
2019-05-16  9:29             ` Mattias Engdegård
2019-05-16 10:59               ` phs
2019-05-16 12:31                 ` Stefan Monnier
2019-05-16 18:35             ` Michael Heerdegen
2019-05-16 20:31               ` Mattias Engdegård
2019-05-16 21:01                 ` Global and local definitions of non-functions/variable (was: More re odditie [Was: regular expressions that match nothing]) Stefan Monnier
2019-05-20 16:26           ` Bootstrap/autoload policy (was Re: regular expressions that match nothing) Mattias Engdegård
2019-05-22 14:02             ` Stefan Monnier
2019-05-22 14:07               ` Mattias Engdegård
2019-05-22 14:24                 ` Stefan Monnier
2019-05-22 15:06                   ` Mattias Engdegård
2019-05-22 15:53                     ` Stefan Monnier
2019-05-22 16:40                       ` Mattias Engdegård
2019-05-22 19:08                         ` Stefan Monnier
2019-05-26 12:05                         ` Basil L. Contovounesios
2019-05-16 18:12       ` regular expressions that match nothing Eric Abrahamsen
2019-05-19  4:30         ` net june [this message]
2019-05-19  5:00           ` HaiJun Zhang
2019-05-19  7:32             ` Mattias Engdegård
2019-05-20  7:56               ` philippe schnoebelen
2019-05-20 23:19                 ` Richard Stallman
2019-05-19 14:12           ` 回复: " Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PS1PR04MB2821E32B3D25FFCB60D8DC8BB7050@PS1PR04MB2821.apcprd04.prod.outlook.com \
    --to=netjune@outlook.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=mattiase@acm.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).