[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: |
Mattias Engdegård |
Subject: |
bug#20307: [PATCH] make regexp-opt return a no-match return value with empty input |
Date: |
Sat, 2 Mar 2019 15:21:52 +0100 |
2 mars 2019 kl. 13.37 skrev Eli Zaretskii <eliz@gnu.org>:
>
>> From: Mattias Engdegård <mattiase@acm.org>
>> Date: Mon, 25 Feb 2019 15:57:44 +0100
>>
>> +If STRINGS is empty, the return value is a regexp that never
>> +matches anything.
>
> 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?
Or did you mean that the phrase should be "If STRINGS is the empty list..."?