]> git.eshelyaron.com Git - emacs.git/commit
regex-emacs.c (forall_firstchar): Fix regression bug#67226
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 Nov 2023 16:03:08 +0000 (11:03 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 25 Nov 2023 16:03:08 +0000 (11:03 -0500)
commit82bba6713fc9d5c7cc24c182236df4f16545e941
treeb6bb21b097b76102e15192c0dd1ef9441b2bc580
parentc20226a1ef5fbdfd3e71e2ef8654ee19994c0f2f
regex-emacs.c (forall_firstchar): Fix regression bug#67226

All zero-width operations need to be taken into account when reaching
`succeed` in `mutually_exclusive_one`!

* src/regex-emacs.c (forall_firstchar_1): Call `f` for all zero-width
matching operators.
(analyze_first_fastmap, analyze_first_null, mutually_exclusive_one):
Adjust accordingly.
src/regex-emacs.c