[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [COMMITTED] Improve regexp that matched on empty strings
From: |
Mattias Engdegård |
Subject: |
Re: [COMMITTED] Improve regexp that matched on empty strings |
Date: |
Thu, 12 Nov 2020 17:29:04 +0100 |
> * rec-mode.el (rec-field-value-re): Improve regexp to not match on
> the empty string. The surrounding group was zero-or-more and each
> subgroup was zero-or-more, this would have matched on the empty
> string.
Nice! Technically the whole regexp still matches the empty string, but that's
because of the outer '*' (zero-or-more) operator, as intended.