Subject: bug#61514: 30.0.50; sadistically long xml line hangs emacs

From: Eli Zaretskii <[email-masked]>
Date: Mon, 20 Feb 2023 14:32:25 +0200

> Date: Mon, 20 Feb 2023 00:14:34 +0000
> From: Gregory Heytings <[email-masked]>
> cc: [email-masked], [email-masked], 
>     Stefan Monnier <[email-masked]>
> 
> Out of curiosity, I just bootstrapped Emacs with emacs_re_max_failures = 
> 10000.  make and make check succeed, except one test: regex-repeat-limit.
> 
> With emacs_re_max_failures = 19661 or higher that test succeeds.  I don't 
> know how important it is to allow x\\{65535\\}.

It makes little sense to me to limit legitimate uses of regexps
because of a single pathological use case.  It's the tail wagging the
dog in my book.