Subject: bug#45041: 27.1; Emacs hangs if the cited message contains some specific text

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 19 Jan 2021 15:32:41 +0100

Pratyush Yadav <[email-masked]> writes:

> If I open any buffer and run this snippet, it returns nil almost 
> instantly. If I add (gnus-article-mode) after (goto-char (point-min)) it 
> freezes up.

So the following, in Emacs 27.1, with "emacs -Q" hangs?  I'm unable to
reproduce this.

(with-temp-buffer
  (require 'gnus-art)
  (insert ">
___________________________________________________________________________\n")
  (goto-char (point-min))
  (gnus-article-mode)
  (looking-at "^\\(\\([ ]*\\(\\w\\|[_.]\\)+>+\\|[ ]*[>|]\\)+\\)?
*>>>>> +\"\\([^\" ]+\\)\" +=="))

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