[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55744: infinite loop
From: |
Eli Zaretskii |
Subject: |
bug#55744: infinite loop |
Date: |
Tue, 07 Jun 2022 05:28:08 +0300 |
> Cc: danielrichardgrayson@gmail.com, 55744@debbugs.gnu.org
> From: Richard Stallman <rms@gnu.org>
> Date: Mon, 06 Jun 2022 18:15:06 -0400
>
> > That's a regexp with a lot of backtracking, I think (i.e., elements that
> > can be matched both by the ?'s as well as the two *'s). So matching
> > this will be slow, which results in the hangs you're seeing when Emacs
> > is trying to match that to the text in the buffer.
>
> Would it make sense to say more about this point in the Emacs Lisp Manual
> where it describes regexps?
I think we already do, see the node "Regexp Problems" there.