unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How are regexen implemented in Emacs?
@ 2022-12-12 17:15 Marcin Borkowski
  2022-12-12 18:16 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2022-12-15  3:41 ` Emanuel Berg
  0 siblings, 2 replies; 24+ messages in thread
From: Marcin Borkowski @ 2022-12-12 17:15 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi all,

some time ago I read (well, skimmed) this article:
https://swtch.com/~rsc/regexp/regexp1.html

I looked at
https://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Problems.html
and started to wonder if the hints there mean that Emacs has a "naive",
backtracking regex engine or a FA-based one?

Before I get yelled at, let me make it clear: I'm not accusing Emacs
devs of sloppy programming.  In fact, my confusion might result from me
not understanding something.  But the warnings in the manual about some
regexen being slow worry me a tiny little bit.

Best,

-- 
Marcin Borkowski
http://mbork.pl



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2022-12-19 20:31 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-12 17:15 How are regexen implemented in Emacs? Marcin Borkowski
2022-12-12 18:16 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-12 19:09   ` Marcin Borkowski
2022-12-12 19:17     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-12 20:31       ` Marcin Borkowski
2022-12-12 21:19         ` Stefan Monnier
2022-12-13  5:01           ` tomas
2022-12-13 16:16             ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-15  5:22             ` Emanuel Berg
2022-12-16 17:39               ` Akib Azmain Turja
2022-12-17  0:31                 ` Emanuel Berg
2022-12-18  0:54                   ` Jean Louis
2022-12-19 20:31                     ` Emanuel Berg
2022-12-12 20:01     ` tomas
2022-12-12 20:32       ` Marcin Borkowski
2022-12-12 21:24         ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-15  5:18       ` Emanuel Berg
2022-12-15 13:38         ` tomas
2022-12-15 16:46       ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-12-15 17:56         ` tomas
2022-12-17  0:13           ` Emanuel Berg
2022-12-15  3:45     ` Emanuel Berg
2022-12-15 13:22       ` tomas
2022-12-15  3:41 ` Emanuel Berg

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).