[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: c-forward-sws: Is the code right?
From: |
Andy Moreton |
Subject: |
Re: c-forward-sws: Is the code right? |
Date: |
Tue, 03 Apr 2018 18:13:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (windows-nt) |
On Mon 02 Apr 2018, Stefan Monnier wrote:
>> I've just commented these "a\\`"s everywhere, and committed the fixes to
>> master.
>
> Maybe we should have a
>
> (defconst empty-regexp "\\`\\'a"
> "Regular expression which cannot match anything.")
>
> in subr.el?
Perhaps "nomatch-regexp" would be a better name ? There are several
regexp constructs that match an empty string, rather than failing to
match anything.
AndyM