[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20307: [PATCH] make regexp-opt return a no-match return value with e
From: |
Eli Zaretskii |
Subject: |
bug#20307: [PATCH] make regexp-opt return a no-match return value with empty input |
Date: |
Sat, 02 Mar 2019 16:41:17 +0200 |
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Sat, 2 Mar 2019 15:21:52 +0100
> Cc: 20307@debbugs.gnu.org
>
> > This says "empty", but the actual test will catch nil as well as an
> > empty list. Should we perhaps mention that?
>
> Sorry, I don't understand. Do we in general distinguish nil from the empty
> list in documentation?
I don't know. I thought the reader might not be aware of their
equivalence, so being explicit would be better.
> Or did you mean that the phrase should be "If STRINGS is the empty list..."?
Yes, that would take care of the issue.