summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-02-20 21:22:41 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2023-02-20 21:22:41 -0500
commit5a864f23eb8a36ef435136c5b41cb01b875df399 (patch)
treecc7b6d2ebd44f079f0f1a2ce99783a72bcba0eaf /lisp/emacs-lisp
parente83c78b8c7784254c2c6f043530ab325c2fa7f16 (diff)
downloademacs-5a864f23eb8a36ef435136c5b41cb01b875df399.tar.gz
emacs-5a864f23eb8a36ef435136c5b41cb01b875df399.tar.bz2
emacs-5a864f23eb8a36ef435136c5b41cb01b875df399.zip
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.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions