[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27359: 25.2; count-matches ^$

From: Lars Ingebrigtsen
Subject: bug#27359: 25.2; count-matches ^$
Date: Mon, 05 Jul 2021 16:31:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Bruce Mardle <marblypup@yahoo.co.uk> writes:

>  I've got a file with 909-lines, 358 of which are blank. To my surprise,
> count-matches, given a patten of ^$ says there are 10 matches. It turns
> out those are the number of *runs* of blank lines (including 1 at the
> end). isearch-forward-regexp given ^$ treats the blank lines separately,
> as expected.

This should now be fixed in Emacs 28.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]