bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21160: 24.5; message-goto-body crashes with moderately large headers


From: Lars Ingebrigtsen
Subject: bug#21160: 24.5; message-goto-body crashes with moderately large headers
Date: Thu, 26 Jan 2017 20:52:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

>>> 1) start emacs -Q
>>> 2) visit the attached file
>>> 3) run M-: (search-forward-regexp "[^:]+:\\([^\n]\\|\n[ \t]\\)+\n\n" nil t)
>>
>> Confirmed on GNU Emacs 25.1.50.9 (commit fafdfcb).  The error message is
>> "Stack overflow in regexp matcher".
>
> I think the regexp should be written like this:
>
> "[^:]+:.*\\(\n[ \t].*\\)+\n\n"

It doesn't seem to do the right ting with empty lines as separators...

-- 
(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]