1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
emacs/test/src
Stefan Monnier 5a864f23eb regex-emacs.c: Reduce the use of backtracking a bit further
bug#61514 exhibited some undesirable backtracking in a case where
it's easy to avoid it by making `mutually_exclusive_p` just a bit
more careful.

* src/regex-emacs.c (mutually_exclusive_p): Handle `on_failure_jump`s.

* test/src/regex-emacs-tests.el (regexp-tests-backtrack-optimization):
Add a few tests.
2023-02-20 21:22:41 -05:00
..
comp-resources ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-module-resources ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
lread-resources Make force-load-doc-strings work again 2022-08-07 10:25:03 +02:00
regex-resources ; Fix more typos 2020-10-03 12:53:51 +02:00
syntax-resources Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
alloc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
buffer-tests.el Rename with/without-narrowing to with/without-restriction 2023-02-13 20:11:28 +02:00
callint-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
callproc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
casefiddle-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
character-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
charset-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
chartab-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
cmds-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
coding-tests.el Fix encoding with 'utf-8-auto' 2023-01-12 16:36:35 +02:00
comp-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
data-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
decompress-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
doc-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
editfns-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-module-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
emacs-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
eval-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
fileio-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
filelock-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
floatfns-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
fns-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
font-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
image-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
indent-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
inotify-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
json-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
keyboard-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
keymap-tests.el Make `keymap-set-after' work for menus 2023-01-20 15:14:45 +01:00
lcms-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
lread-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
marker-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
minibuf-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
print-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
process-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
regex-emacs-tests.el regex-emacs.c: Reduce the use of backtracking a bit further 2023-02-20 21:22:41 -05:00
search-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
sqlite-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
syntax-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
textprop-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
thread-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
timefns-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
treesit-tests.el Add 'live' property to treesit-node-check (bug#61235) 2023-02-09 16:51:25 -08:00
undo-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
xdisp-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
xfaces-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
xml-tests.el ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00