aboutsummaryrefslogtreecommitdiffstats
path: root/java/org
diff options
context:
space:
mode:
authorStefan Monnier2023-09-27 13:29:50 -0400
committerStefan Monnier2023-09-27 13:29:50 -0400
commitbc52fdd1d153b36a9da74d7aa7f1e6150ff6b2eb (patch)
treea302e300d15378c840b9eab4f49861c375dd52f7 /java/org
parent9a67540e51edca00b17de639af18989f9ecc9be9 (diff)
downloademacs-bc52fdd1d153b36a9da74d7aa7f1e6150ff6b2eb.tar.gz
emacs-bc52fdd1d153b36a9da74d7aa7f1e6150ff6b2eb.zip
* src/regex-emacs.c (analyze_first): Fix incorrect optimization
The optimization was incorrect in a particular corner case. In this fix I just disable it conservatively for more cases because it's not obvious how to fix it while preserving the "good" cases. We may find a better fix by using an approach like the one in `mutually_exhaustive_aux`, but for now this is good enough, especially since \{..\} repetitions are not used very frequently. * test/src/regex-resources/PTESTS: New test.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions