From: Ryan Rix <ryan@whatthefuck.computer>
To: 6640@debbugs.gnu.org
Cc: michael@cadilhac.name
Subject: bug#6640: 23.2; Why is this regexp search taking so long? (and will it end?)
Date: Sun, 06 Mar 2016 04:12:59 +0000 [thread overview]
Message-ID: <sa660x0z1kk.fsf@kusanagi.pss9.kickass.systems> (raw)
In-Reply-To: <yvzgk4own4ym.fsf@cadilhac.name> (michael@cadilhac.name "(michaël" cadilhac 's message of "Thu, 15 Jul 2010 11:24:17 -0400")
michael@cadilhac.name "(Michaël" Cadilhac) writes:
> - emacs -Q
> - Clear the scratch buffer, and paste:
>
[redact]
>
> (a small input would give quite the same result).
> - M-< C-- C-s ^\([^:]*:[^:]*\)\{9\}
>
> (everything works fine till now)
>
> add an $ to the regexp.
>
> - FEAR the possible endless loop (and the actual unexpected result of
> taking long time).
>
> With an 8 in place of the 9, it takes a long time, but not possibly
> endless.
>
> Thanks!
Hi Michael,
Thanks for reporting this. I can confirm this is still an issue in the
latest emacs-25, commit e51b27ec2ce214ef3d8377a27ee9d857bcc66afc
I will leave it to smarter minds than my own to debug the regex engine,
though.
next parent reply other threads:[~2016-03-06 4:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <yvzgk4own4ym.fsf@cadilhac.name>
2016-03-06 4:12 ` Ryan Rix [this message]
2016-06-10 21:13 ` bug#6640: 23.2; Why is this regexp search taking so long? (and will it end?) Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sa660x0z1kk.fsf@kusanagi.pss9.kickass.systems \
--to=ryan@whatthefuck.computer \
--cc=6640@debbugs.gnu.org \
--cc=michael@cadilhac.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).